[clang] isUncountedPtr should take QualType as an argument. (PR #110213)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 16:15:21 PDT 2024


================
@@ -190,11 +190,7 @@ class UncountedLocalVarsChecker
     if (shouldSkipVarDecl(V))
       return;
 
-    const auto *ArgType = V->getType().getTypePtr();
-    if (!ArgType)
----------------
haoNoQ wrote:

Fair enough!

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


More information about the cfe-commits mailing list