Skip to content

Commit dabaa69

Browse files
authored
Merge pull request #58659 from apple/egorzhdan/cxx-namespace-lookup-fix
[cxx-interop] Fix namespace lookup
2 parents 522f0cb + b3feb9e commit dabaa69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2725,7 +2725,7 @@ static bool isVisibleFromModule(const ClangModuleUnit *ModuleFilter,
27252725
// Handle redeclarable Clang decls by checking each redeclaration.
27262726
bool IsTagDecl = isa<clang::TagDecl>(D);
27272727
if (!(IsTagDecl || isa<clang::FunctionDecl>(D) || isa<clang::VarDecl>(D) ||
2728-
isa<clang::TypedefNameDecl>(D))) {
2728+
isa<clang::TypedefNameDecl>(D) || isa<clang::NamespaceDecl>(D))) {
27292729
return false;
27302730
}
27312731

0 commit comments

Comments
 (0)