kadircet added inline comments.
================ Comment at: clangd/Diagnostics.cpp:299 + D.Severity = + D.Category == "Deprecations" ? DiagnosticsEngine::Note : DiagLevel; return D; ---------------- Couldn't find a better way to check for this one. Category types are coming from tablegen file https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/DiagnosticGroups.td#L128 which does not expose category id, at least I couldn't find even if it does. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D51747 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits