tbaeder marked 5 inline comments as done. tbaeder added inline comments.
================ Comment at: clang/lib/Sema/SemaLookup.cpp:1337 if (S->isClassScope()) - if (CXXRecordDecl *Record = - dyn_cast_or_null<CXXRecordDecl>(S->getEntity())) + if (auto *Record = dyn_cast_if_present<CXXRecordDecl>(S->getEntity())) R.setNamingClass(Record); ---------------- aaron.ballman wrote: > Right? Unfortunately not, the naming class ends up in some `::Create` call at some point, so can't be const. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148696/new/ https://reviews.llvm.org/D148696 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits