[PATCH] D64374: [analyzer] CastValueChecker: Model casts

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 9 15:19:31 PDT 2019


Charusso marked 2 inline comments as done.
Charusso added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:172
+      !CE->getArg(0)->getType()->getPointeeCXXRecordDecl())
+    return false;
+
----------------
If we cannot obtain any of the CXXRecordDecls then we bail out. You are right about that feature, and I like it.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64374/new/

https://reviews.llvm.org/D64374





More information about the cfe-commits mailing list