[PATCH] D86027: [analyzer] Add bool operator modeling for unque_ptr
Nithin VR via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 19 12:32:21 PDT 2020
vrnithinkumar added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp:130
+// Returns empty type if not found valid inner pointer type.
+static QualType getInnerPointerType(const CallEvent &Call, CheckerContext &C) {
+ QualType InnerType{};
----------------
It seems like a long shot to me.
I am not sure is there any direct or easy way to get inner pointer type from a smart pointer
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86027/new/
https://reviews.llvm.org/D86027
More information about the cfe-commits
mailing list