[AST] Eliminate 'SYNTAX_KIND' from MagicIdentifierKinds.def

Nothing is using it.
This commit is contained in:
Rintaro Ishizaki
2025-02-12 23:03:44 -08:00
parent f25104ff24
commit 563ddc47e2
16 changed files with 59 additions and 57 deletions

View File

@@ -630,8 +630,8 @@ static void diagSyntacticUseRestrictions(const Expr *E, const DeclContext *DC,
std::optional<MagicIdentifierLiteralExpr::Kind>
getMagicIdentifierDefaultArgKind(const ParamDecl *param) {
switch (param->getDefaultArgumentKind()) {
#define MAGIC_IDENTIFIER(NAME, STRING, SYNTAX_KIND) \
case DefaultArgumentKind::NAME: \
#define MAGIC_IDENTIFIER(NAME, STRING) \
case DefaultArgumentKind::NAME: \
return MagicIdentifierLiteralExpr::Kind::NAME;
#include "swift/AST/MagicIdentifierKinds.def"