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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 08:22:25 PDT 2024


================
@@ -68,7 +69,8 @@ getCategoryFromDiagGroup(const Record *Group,
 
   // The diag group may the subgroup of one or more other diagnostic groups,
   // check these for a category as well.
-  const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group);
+  const std::vector<const Record *> &Parents =
----------------
AaronBallman wrote:

Sure, that works for me, thank you!

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


More information about the cfe-commits mailing list