[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 07:55:19 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:
Should we change this to use an `ArrayRef`? (Same for the `getParents()` API?)
https://github.com/llvm/llvm-project/pull/108209
More information about the cfe-commits
mailing list