File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2712,7 +2712,7 @@ ClangImporter::Implementation::lookupTypedef(clang::DeclarationName name) {
27122712 clang::SourceLocation (),
27132713 clang::Sema::LookupOrdinaryName);
27142714
2715- if (sema.LookupName (lookupResult, /* scope= */ nullptr )) {
2715+ if (sema.LookupName (lookupResult, sema. TUScope )) {
27162716 for (auto decl : lookupResult) {
27172717 if (auto typedefDecl =
27182718 dyn_cast<clang::TypedefNameDecl>(decl->getUnderlyingDecl ()))
Original file line number Diff line number Diff line change 11// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -typecheck -verify -import-cf-types -I %S/Inputs/custom-modules %s
22
3+ // RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -typecheck -verify -import-cf-types -enable-experimental-cxx-interop -I %S/Inputs/custom-modules %s
4+
35// REQUIRES: objc_interop
46
57import CoreCooling
You can’t perform that action at this time.
0 commit comments