1717
1818// Used for any magic identifier.
1919#ifndef MAGIC_IDENTIFIER
20- #define MAGIC_IDENTIFIER (NAME, STRING, SYNTAX_KIND )
20+ #define MAGIC_IDENTIFIER (NAME, STRING )
2121#endif
2222
2323// Used for magic identifiers which produce string literals.
2424#ifndef MAGIC_STRING_IDENTIFIER
25- #define MAGIC_STRING_IDENTIFIER (NAME, STRING, SYNTAX_KIND ) MAGIC_IDENTIFIER(NAME, STRING, SYNTAX_KIND )
25+ #define MAGIC_STRING_IDENTIFIER (NAME, STRING ) MAGIC_IDENTIFIER(NAME, STRING)
2626#endif
2727
2828// Used for magic identifiers which produce integer literals.
2929#ifndef MAGIC_INT_IDENTIFIER
30- #define MAGIC_INT_IDENTIFIER (NAME, STRING, SYNTAX_KIND ) MAGIC_IDENTIFIER(NAME, STRING, SYNTAX_KIND )
30+ #define MAGIC_INT_IDENTIFIER (NAME, STRING ) MAGIC_IDENTIFIER(NAME, STRING)
3131#endif
3232
3333// Used for magic identifiers which produce raw pointers.
3434#ifndef MAGIC_POINTER_IDENTIFIER
35- #define MAGIC_POINTER_IDENTIFIER (NAME, STRING, SYNTAX_KIND ) MAGIC_IDENTIFIER(NAME, STRING, SYNTAX_KIND )
35+ #define MAGIC_POINTER_IDENTIFIER (NAME, STRING ) MAGIC_IDENTIFIER(NAME, STRING)
3636#endif
3737
3838// Used when a given token always maps to a particular magic identifier kind.
4545//
4646
4747// / The \c #fileID magic identifier literal.
48- MAGIC_STRING_IDENTIFIER (FileID, " #fileID" , PoundFileIDExpr )
48+ MAGIC_STRING_IDENTIFIER (FileID, " #fileID" )
4949 MAGIC_IDENTIFIER_TOKEN(FileID, pound_fileID)
5050
5151// / The \c #file magic identifier literal, written in code where it is
5252// / a synonym for \c #fileID (i.e. "Swift 6 mode" code).
53- MAGIC_STRING_IDENTIFIER(FileIDSpelledAsFile, " #file" , PoundFileExpr )
53+ MAGIC_STRING_IDENTIFIER(FileIDSpelledAsFile, " #file" )
5454 // tok::pound_file is shared with FilePathSpelledAsFile; please write custom
5555 // code paths for it.
5656
5757// / The \c #filePath magic identifier literal.
58- MAGIC_STRING_IDENTIFIER(FilePath, " #filePath" , PoundFilePathExpr )
58+ MAGIC_STRING_IDENTIFIER(FilePath, " #filePath" )
5959 MAGIC_IDENTIFIER_TOKEN(FilePath, pound_filePath)
6060
6161// / The \c #file magic identifier literal, written in code where it is
6262// / a synonym for \c #filePath (i.e. Swift 5 mode code).
63- MAGIC_STRING_IDENTIFIER(FilePathSpelledAsFile, " #file" , PoundFileExpr )
63+ MAGIC_STRING_IDENTIFIER(FilePathSpelledAsFile, " #file" )
6464 // tok::pound_file is shared with FileIDSpelledAsFile; please write custom
6565 // code paths for it.
6666
6767// / The \c #function magic identifier literal.
68- MAGIC_STRING_IDENTIFIER(Function, " #function" , PoundFunctionExpr )
68+ MAGIC_STRING_IDENTIFIER(Function, " #function" )
6969 MAGIC_IDENTIFIER_TOKEN(Function, pound_function)
7070
7171
@@ -75,11 +75,11 @@ MAGIC_STRING_IDENTIFIER(Function, "#function", PoundFunctionExpr)
7575//
7676
7777// / The \c #line magic identifier literal.
78- MAGIC_INT_IDENTIFIER(Line, " #line" , PoundLineExpr )
78+ MAGIC_INT_IDENTIFIER(Line, " #line" )
7979 MAGIC_IDENTIFIER_TOKEN(Line, pound_line)
8080
8181// / The \c #column magic identifier literal.
82- MAGIC_INT_IDENTIFIER(Column, " #column" , PoundColumnExpr )
82+ MAGIC_INT_IDENTIFIER(Column, " #column" )
8383 MAGIC_IDENTIFIER_TOKEN(Column, pound_column)
8484
8585
@@ -89,7 +89,7 @@ MAGIC_INT_IDENTIFIER(Column, "#column", PoundColumnExpr)
8989//
9090
9191// / The \c #dsohandle magic identifier literal.
92- MAGIC_POINTER_IDENTIFIER(DSOHandle, " #dsohandle" , PoundDsohandleExpr )
92+ MAGIC_POINTER_IDENTIFIER(DSOHandle, " #dsohandle" )
9393 MAGIC_IDENTIFIER_TOKEN(DSOHandle, pound_dsohandle)
9494
9595#undef MAGIC_IDENTIFIER
0 commit comments