[PATCH] D65889: [analyzer] CastValueChecker: Model castAs(), getAs()

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 7 17:28:01 PDT 2019


Charusso updated this revision to Diff 214041.
Charusso added a comment.

- May it is better to also check for `getAsCXXRecordDecl()` for obtaining a class.


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

https://reviews.llvm.org/D65889

Files:
  clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  clang/test/Analysis/cast-value.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65889.214041.patch
Type: text/x-patch
Size: 18354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190808/c51aebf8/attachment.bin>


More information about the cfe-commits mailing list