[clang] [clang] Fix the post-filtering heuristic for GSLPointer. (PR #114044)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 07:57:20 PST 2024
================
@@ -1093,6 +1093,87 @@ static bool pathOnlyHandlesGslPointer(const IndirectLocalPath &Path) {
}
return false;
}
+// Result of analyzing the Path for GSLPointer.
----------------
hokein wrote:
It is intended. I think these three `pathOnlyHandlesGslPointer`, `AnalysisResult` and `analyzePathForGSLPointer` belong to a group, they all are used to implement the filter heuristic. (we can even inline the `pathOnlyHandlesGslPointer` in the `analyzePathForGSLPointer`).
https://github.com/llvm/llvm-project/pull/114044
More information about the cfe-commits
mailing list