[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.
+enum AnalysisResult {
----------------
hokein wrote:

We don’t have a strict policy on using enum class vs enum, it's typically left to the author's judgment.

https://github.com/llvm/llvm-project/pull/114044


More information about the cfe-commits mailing list