arphaman added inline comments.
================ Comment at: lib/Sema/SemaDeclCXX.cpp:646 + // in this case, redefinition will be diagnosed later. + (New->isInlineSpecified() || !New->isOutOfLine() || + !New->getLexicalDeclContext()->isRecord())) { ---------------- This is somewhat confusing to me: are you using the `!New->isOutOfLine() || !New->getLexicalDeclContext()->isRecord()` check to ensure that this new declaration is not a `friend`? https://reviews.llvm.org/D26065 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits