Skip to content

Commit 6c15aad

Browse files
committed
Sema: Remove NameLookupFlags::IncludeAttributeImplements
1 parent ec4c17a commit 6c15aad

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

lib/Sema/TypeCheckNameLookup.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,6 @@ LookupResult TypeChecker::lookupMember(DeclContext *dc,
308308
if (options.contains(NameLookupFlags::ProtocolMembers))
309309
subOptions |= NL_ProtocolMembers;
310310

311-
if (options.contains(NameLookupFlags::IncludeAttributeImplements))
312-
subOptions |= NL_IncludeAttributeImplements;
313-
314311
// We handle our own overriding/shadowing filtering.
315312
subOptions &= ~NL_RemoveOverridden;
316313
subOptions &= ~NL_RemoveNonVisible;

lib/Sema/TypeChecker.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ enum class NameLookupFlags {
199199
/// Whether to include results from outside the innermost scope that has a
200200
/// result.
201201
IncludeOuterResults = 0x20,
202-
/// Whether to consider synonyms declared through @_implements().
203-
IncludeAttributeImplements = 0x40,
204202
};
205203

206204
/// A set of options that control name lookup.

0 commit comments

Comments
 (0)