[PATCH] D125709: [analyzer][Casting] Support isa, cast, dyn_cast of SVals
Aman LaChapelle via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 16 10:41:05 PDT 2022
bzcheeseman added inline comments.
================
Comment at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:102
template<typename T>
T castAs() const {
assert(T::classof(*this));
----------------
Is it worth refactoring this and getAs to use `cast<T>` and `dyn_cast<T>` as appropriate to avoid code duplication?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125709/new/
https://reviews.llvm.org/D125709
More information about the cfe-commits
mailing list