NoQ added inline comments.
================ Comment at: include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:732 + const SubRegion *Super) const { + const auto Base = BaseSpec.getType()->getAsCXXRecordDecl(); + return loc::MemRegionVal( ---------------- I think you wanted to say `const auto *` here. It's not really important that the local variable is const, but that the pointer points to const. Repository: rC Clang https://reviews.llvm.org/D46891 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits