EricWF marked 2 inline comments as done. EricWF added inline comments.
================ Comment at: utils/TableGen/ClangDiagnosticsEmitter.cpp:514 + std::vector<Record *> Diags = Records.getAllDerivedDefinitions("Diagnostic"); + llvm::for_each(Diags, [&](Record *R) { substituteDiagText(R, SubsMap); }); ---------------- rjmccall wrote: > I see why this has to be done separately, I think, but it should at least go > in a helper function. > > Also, please check for substitution-name conflicts. @rjmccall By substitution name conflicts do you mean substitution names which conflict with diagnostic names? https://reviews.llvm.org/D46740 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits