================
@@ -535,6 +535,9 @@ class WarningsSpecialCaseList : public
llvm::SpecialCaseList {
bool isDiagSuppressed(diag::kind DiagId, SourceLocation DiagLoc,
const SourceManager &SM) const;
+ /// The diagnostics that have a section.
+ auto mappedDiags() const { return DiagToSection.keys(); }
----------------
zmodem wrote:
nit: Return type deduction for a method like this feels unusual in LLVM style.
https://github.com/llvm/llvm-project/pull/244714
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits