[clang] [clangl[TableGen] Change Diagnostic Emitter to use const RecordKeeper (PR #108209)

Rahul Joshi via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 08:51:01 PDT 2024


================
@@ -39,12 +39,13 @@ using namespace llvm;
 
 namespace {
 class DiagGroupParentMap {
-  RecordKeeper &Records;
-  std::map<const Record*, std::vector<Record*> > Mapping;
+  const RecordKeeper &Records;
+  std::map<const Record *, std::vector<const Record *>> Mapping;
----------------
jurahul wrote:

Sound good, I'll change in the follow on.

https://github.com/llvm/llvm-project/pull/108209


More information about the cfe-commits mailing list