Skip to content

Commit a003f4e

Browse files
committed
[NFC] AST: Removed dead #define.
It was once used for materializeForSet.
1 parent 3442a3a commit a003f4e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

include/swift/AST/AccessorKinds.def

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@
108108
#define INIT_ACCESSOR(ID, KEYWORD) SINGLETON_ACCESSOR(ID, KEYWORD)
109109
#endif
110110

111-
// Suppress entries for accessors which can't be written in source code.
112-
#ifndef SUPPRESS_ARTIFICIAL_ACCESSORS
113-
#define SUPPRESS_ARTIFICIAL_ACCESSORS 0
114-
#endif
115-
116111
/// This is a getter: a function that is called when a value is loaded
117112
/// from the storage. It returns an owned value of the storage type.
118113
///

lib/Parse/ParseDecl.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7954,7 +7954,6 @@ static ParserStatus parseAccessorIntroducer(Parser &P,
79547954
Status.setIsParseError();
79557955
return Status;
79567956
}
7957-
#define SUPPRESS_ARTIFICIAL_ACCESSORS 1
79587957
#define ACCESSOR_KEYWORD(KEYWORD)
79597958
#define SINGLETON_ACCESSOR(ID, KEYWORD) \
79607959
else if (P.Tok.getRawText() == #KEYWORD) { \

0 commit comments

Comments
 (0)