NoQ accepted this revision. NoQ added a comment. This revision is now accepted and ready to land. Herald added subscribers: a.sidorin, rnkovacs, szepet.
This looks clear to me. ================ Comment at: lib/StaticAnalyzer/Checkers/IteratorChecker.cpp:1449-1464 +const CXXRecordDecl *getCXXRecordDecl(const MemRegion *Reg) { + QualType Type; + if (const auto *TVReg = Reg->getAs<TypedValueRegion>()) { + Type = TVReg->getValueType(); + } else if (const auto *SymReg = Reg->getAs<SymbolicRegion>()) { + Type = SymReg->getSymbol()->getType(); + } else { ---------------- Would `getDynamicTypeInfo()` be of any help? https://reviews.llvm.org/D32902 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits