[clang] [clang] Refactor attr diagnostics to use %select (PR #122473)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 10 08:51:30 PST 2025
================
@@ -3708,9 +3709,9 @@ void Parser::ParseDeclarationSpecifiers(
continue;
if (PA.getKind() == ParsedAttr::AT_LifetimeBound)
- Diag(PA.getLoc(), diag::err_attribute_wrong_decl_type_str)
----------------
ilya-biryukov wrote:
Do we have any instances of `_str` versions left?
- If not, maybe remove them from the TableGen files?
- If yes, what's stopping us from replacing them with enumerations and removing them from TableGen files?
https://github.com/llvm/llvm-project/pull/122473
More information about the cfe-commits
mailing list