[clang] Add 'enum_select' diagnostic selection to clang. (PR #122505)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 14 11:41:29 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'.
----------------
erichkeane wrote:
I don't think so? Actually, the 'For now,' could probably go away. The documentation page seems more directed at someone 'reading' the documentation, so the "list of possible things this could say" is likely sufficient. WDYT?
https://github.com/llvm/llvm-project/pull/122505
More information about the cfe-commits
mailing list