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: http://eel.is/c++draft/module.interface#6.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaDecl.cpp | ||
---|---|---|
1643–1648 | This is formatted by clang-format, the original may be too long: if (!New->getLexicalDeclContext()->getNonTransparentContext()->isFileContext() || ... |
clang/lib/Sema/SemaDecl.cpp | ||
---|---|---|
1643–1648 | I like continuation lines where the operator is on the start of the new line rather than the end of the old one :) |
This is formatted by clang-format, the original may be too long: