[PATCH] D104647: [analyzer] Support SVal::getType for pointer-to-member values
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 29 14:24:05 PDT 2021
NoQ added inline comments.
================
Comment at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h:85
const NamedDecl *D;
+ QualType T;
llvm::ImmutableList<const CXXBaseSpecifier *> L;
----------------
What prevents you from obtaining the type from `D`? I guess `NamedDecl` itself doesn't provide a `getType()` on its own but what specific sub-classes can `D` be that don't have a type?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104647/new/
https://reviews.llvm.org/D104647
More information about the cfe-commits
mailing list