[clang] [alpha.webkit.UncountedLocalVarsChecker] Allow uncounted object references within trivial statements (PR #82229)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 4 16:35:08 PST 2024


================
@@ -253,6 +253,17 @@ class TrivialFunctionAnalysisVisitor
     return true;
   }
 
+  template <typename StmtType, typename CheckFunction>
+  bool WithCachedResult(const StmtType *S, CheckFunction Function) {
----------------
rniwa wrote:

Good point. Changed.

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


More information about the cfe-commits mailing list