Skip to content

Commit 6f62927

Browse files
committed
[NFC] AST: Removed dead #define.
It was once used for materializeForSet.
1 parent 6b89f1e commit 6f62927

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
@@ -7945,7 +7945,6 @@ static ParserStatus parseAccessorIntroducer(Parser &P,
79457945
Status.setIsParseError();
79467946
return Status;
79477947
}
7948-
#define SUPPRESS_ARTIFICIAL_ACCESSORS 1
79497948
#define ACCESSOR_KEYWORD(KEYWORD)
79507949
#define SINGLETON_ACCESSOR(ID, KEYWORD) \
79517950
else if (P.Tok.getRawText() == #KEYWORD) { \

0 commit comments

Comments
 (0)