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) {
2712
2712
clang::SourceLocation (),
2713
2713
clang::Sema::LookupOrdinaryName);
2714
2714
2715
- if (sema.LookupName (lookupResult, /* scope= */ nullptr )) {
2715
+ if (sema.LookupName (lookupResult, sema. TUScope )) {
2716
2716
for (auto decl : lookupResult) {
2717
2717
if (auto typedefDecl =
2718
2718
dyn_cast<clang::TypedefNameDecl>(decl->getUnderlyingDecl ()))
Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-frontend -disable-objc-attr-requires-foundation-module -typecheck -verify -import-cf-types -I %S/Inputs/custom-modules %s
2
2
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
+
3
5
// REQUIRES: objc_interop
4
6
5
7
import CoreCooling
You can’t perform that action at this time.
0 commit comments