aaron.ballman added inline comments. ================ Comment at: lib/AST/Type.cpp:2016 @@ -2019,3 +2015,3 @@ case Type::Record: - if (CXXRecordDecl *ClassDecl + if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(cast<RecordType>(CanonicalType)->getDecl())) ---------------- Not certain this is an improvement due to the type information being on a different line.
Repository: rL LLVM http://reviews.llvm.org/D15400 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits