rsmith added inline comments. ================ Comment at: lib/Parse/ParseDecl.cpp:2282 @@ -2281,3 +2281,3 @@ // Otherwise, if we don't consume this token, we are going to emit an // error anyway. Try to recover from various common problems. Check ---------------- Maybe put the check here instead. That way, you can apply it for any DSContext.
================ Comment at: lib/Sema/SemaDecl.cpp:507 @@ +506,3 @@ +findRecordParentWithDependentBases(const DeclContext *DC) { + for (;; DC = DC->getLookupParent()) { + DC = DC->getPrimaryContext(); ---------------- Missing loop termination condition http://reviews.llvm.org/D20500 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits