[modules] Enforce the rules that an explicit or partial specialization must be
declared before it is used. Because we don't use normal name lookup to find these, the normal code to filter out non-visible names from name lookup results does not apply. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268585 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/Decl.h 4 additions, 0 deletionsinclude/clang/AST/Decl.h
- include/clang/AST/DeclTemplate.h 6 additions, 8 deletionsinclude/clang/AST/DeclTemplate.h
- include/clang/Basic/DiagnosticSemaKinds.td 10 additions, 3 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Sema/Sema.h 31 additions, 2 deletionsinclude/clang/Sema/Sema.h
- lib/AST/Decl.cpp 15 additions, 0 deletionslib/AST/Decl.cpp
- lib/Sema/SemaCXXScopeSpec.cpp 28 additions, 3 deletionslib/Sema/SemaCXXScopeSpec.cpp
- lib/Sema/SemaExpr.cpp 54 additions, 33 deletionslib/Sema/SemaExpr.cpp
- lib/Sema/SemaLookup.cpp 63 additions, 12 deletionslib/Sema/SemaLookup.cpp
- lib/Sema/SemaTemplate.cpp 154 additions, 4 deletionslib/Sema/SemaTemplate.cpp
- lib/Sema/SemaTemplateInstantiate.cpp 13 additions, 2 deletionslib/Sema/SemaTemplateInstantiate.cpp
- lib/Sema/SemaTemplateInstantiateDecl.cpp 8 additions, 0 deletionslib/Sema/SemaTemplateInstantiateDecl.cpp
- lib/Sema/SemaType.cpp 15 additions, 5 deletionslib/Sema/SemaType.cpp
- test/Modules/Inputs/cxx-templates-common.h 17 additions, 0 deletionstest/Modules/Inputs/cxx-templates-common.h
- test/Modules/Inputs/cxx-templates-unimported.h 43 additions, 0 deletionstest/Modules/Inputs/cxx-templates-unimported.h
- test/Modules/Inputs/module.map 2 additions, 0 deletionstest/Modules/Inputs/module.map
- test/Modules/cxx-templates.cpp 64 additions, 6 deletionstest/Modules/cxx-templates.cpp
Loading
Please register or sign in to comment