[clang] [clang] Fix the post-filtering heuristic for GSLPointer. (PR #114044)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 4 03:22:49 PST 2024
================
@@ -1093,6 +1093,87 @@ static bool pathOnlyHandlesGslPointer(const IndirectLocalPath &Path) {
}
return false;
}
+// Result of analyzing the Path for GSLPointer.
+enum AnalysisResult {
----------------
Xazax-hun wrote:
Nit: not sure what is the current policy about `enum class` vs `enum`. I think the first one might usually be preferred in new code, that being said this is scoped to this file so I don't have a strong opinion about it.
https://github.com/llvm/llvm-project/pull/114044
More information about the cfe-commits
mailing list