Szelethus added inline comments.
================ Comment at: clang/lib/StaticAnalyzer/Core/DynamicType.cpp:44 + +bool isDerivedFrom(QualType X, QualType Y) { + const CXXRecordDecl *XRD = X->getPointeeCXXRecordDecl(); ---------------- Hmm, I think this function answers the question, at least in the standard library sense, whether Y `std::is_base_of` of X, whereas "is derived from?" is another term that is used by clang and seems to not allow equality of types. Should we rename this to `isBaseOf`? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67079/new/ https://reviews.llvm.org/D67079 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits