hintonda added a comment. Cool, I'll try to play with this later today.
BTW, since the call to DiagnosticsEngine::Report is delayed when using PartialDiagnostic, would it make sense to add them as well? Also, this doesn't seem to solve the initial problem of finding the Diag name in the first place. Eventually, I'd like a scan-build like tool that let you rerun a particular compilation command (without needing to construct the -cc1 command yourself), that adds breakpoints for all warning/error diagnostics seen before invoking lldb -- perhaps even leveraging the compilation database, a la clang-tidy. Repository: rL LLVM https://reviews.llvm.org/D36083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits