[clang] isUncountedPtr should take QualType as an argument. (PR #110213)
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 1 14:37:22 PDT 2024
================
@@ -190,11 +190,7 @@ class UncountedLocalVarsChecker
if (shouldSkipVarDecl(V))
return;
- const auto *ArgType = V->getType().getTypePtr();
- if (!ArgType)
----------------
haoNoQ wrote:
Some of these null checks may still be necessary (with `QualType.isNull()`).
https://github.com/llvm/llvm-project/pull/110213
More information about the cfe-commits
mailing list