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 @@ -2757,7 +2757,7 @@ ClangImporter::Implementation::lookupTypedef(clang::DeclarationName name) {
2757
2757
clang::SourceLocation (),
2758
2758
clang::Sema::LookupOrdinaryName);
2759
2759
2760
- if (sema.LookupName (lookupResult, /* scope= */ nullptr )) {
2760
+ if (sema.LookupName (lookupResult, sema. TUScope )) {
2761
2761
for (auto decl : lookupResult) {
2762
2762
if (auto typedefDecl =
2763
2763
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