[clang] Add 'enum_select' diagnostic selection to clang. (PR #122505)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 14 11:43:33 PST 2025
================
@@ -886,6 +909,11 @@ struct DiagTextDocPrinter : DiagTextVisitor<DiagTextDocPrinter> {
makeRowSeparator(RST[I]);
}
+ void VisitEnumSelect(EnumSelectPiece *P) {
+ // For now, document this as if it were a 'select'.
----------------
AaronBallman wrote:
I think that makes sense -- let's drop the "for now" in the comment and just explain that in terms of documentation, there's no difference between select and enum_select.
https://github.com/llvm/llvm-project/pull/122505
More information about the cfe-commits
mailing list