@@ -190,14 +190,6 @@ enum class NameLookupFlags {
190
190
KnownPrivate = 0x01 ,
191
191
// / Whether name lookup should be able to find protocol members.
192
192
ProtocolMembers = 0x02 ,
193
- // / Whether we should map the requirement to the witness if we
194
- // / find a protocol member and the base type is a concrete type.
195
- // /
196
- // / If this is not set but ProtocolMembers is set, we will
197
- // / find protocol extension members, but not protocol requirements
198
- // / that do not yet have a witness (such as inferred associated
199
- // / types, or witnesses for derived conformances).
200
- PerformConformanceCheck = 0x04 ,
201
193
// / Whether to perform 'dynamic' name lookup that finds @objc
202
194
// / members of any class or protocol.
203
195
DynamicLookup = 0x08 ,
@@ -221,23 +213,19 @@ inline NameLookupOptions operator|(NameLookupFlags flag1,
221
213
222
214
// / Default options for member name lookup.
223
215
const NameLookupOptions defaultMemberLookupOptions
224
- = NameLookupFlags::ProtocolMembers |
225
- NameLookupFlags::PerformConformanceCheck;
216
+ = NameLookupFlags::ProtocolMembers;
226
217
227
218
// / Default options for constructor lookup.
228
219
const NameLookupOptions defaultConstructorLookupOptions
229
- = NameLookupFlags::ProtocolMembers |
230
- NameLookupFlags::PerformConformanceCheck;
220
+ = NameLookupFlags::ProtocolMembers;
231
221
232
222
// / Default options for member type lookup.
233
223
const NameLookupOptions defaultMemberTypeLookupOptions
234
- = NameLookupFlags::ProtocolMembers |
235
- NameLookupFlags::PerformConformanceCheck;
224
+ = NameLookupFlags::ProtocolMembers;
236
225
237
226
// / Default options for unqualified name lookup.
238
227
const NameLookupOptions defaultUnqualifiedLookupOptions
239
- = NameLookupFlags::ProtocolMembers |
240
- NameLookupFlags::PerformConformanceCheck;
228
+ = NameLookupFlags::ProtocolMembers;
241
229
242
230
// / Describes the result of comparing two entities, of which one may be better
243
231
// / or worse than the other, or they are unordered.
0 commit comments