================ @@ -269,11 +268,60 @@ CATEGORY(INSTALLAPI, REFACTORING) return Found; } -DiagnosticMapping DiagnosticIDs::getDefaultMapping(unsigned DiagID) { +//===----------------------------------------------------------------------===// +// Custom Diagnostic information +//===----------------------------------------------------------------------===// + +namespace clang { +namespace diag { +using CustomDiagDesc = DiagnosticIDs::CustomDiagDesc; +class CustomDiagInfo { + std::vector<CustomDiagDesc> DiagInfo; + std::map<CustomDiagDesc, unsigned> DiagIDs; + std::map<diag::Group, std::vector<unsigned>> GroupToDiags; ---------------- AaronBallman wrote:
Should these be using LLVM ADTs instead for better performance? Specifically, `SmallVector`, `[Small]DenseMap`, and `MapVector`? https://github.com/llvm/llvm-project/pull/70976 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits