================
@@ -178,6 +178,11 @@ class UncountedLocalVarsChecker
     if (shouldSkipVarDecl(V))
       return;
 
+    if (auto *FD = dyn_cast<FunctionDecl>(V->getDeclContext())) {
+      if (FD->isInlined())
----------------
rniwa wrote:

I don't think we should do this.

https://github.com/llvm/llvm-project/pull/90733
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to