[C++20] [Modules] Only check decls under namespace scope in CheckRedeclarationExported
Since only the decls inhabit in a namespace scope could be exported, it is not meaningful to check it in CheckRedeclarationExported, which implements [module.interface]/p6. Reviewed By: urnathan Differential Revision: https://reviews.llvm.org/D118120
Loading
Please sign in to comment