PR28794: Don't try to instantiate function templates which are not visible.
Reviewed by Richard Smith. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279164 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 8 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaTemplate.cpp 64 additions, 0 deletionslib/Sema/SemaTemplate.cpp
- lib/Sema/SemaTemplateInstantiate.cpp 2 additions, 58 deletionslib/Sema/SemaTemplateInstantiate.cpp
- lib/Sema/SemaTemplateInstantiateDecl.cpp 21 additions, 11 deletionslib/Sema/SemaTemplateInstantiateDecl.cpp
- test/Modules/Inputs/PR28794/LibAHeader.h 12 additions, 0 deletionstest/Modules/Inputs/PR28794/LibAHeader.h
- test/Modules/Inputs/PR28794/Subdir/Empty.h 1 addition, 0 deletionstest/Modules/Inputs/PR28794/Subdir/Empty.h
- test/Modules/Inputs/PR28794/Subdir/LibBHeader.h 12 additions, 0 deletionstest/Modules/Inputs/PR28794/Subdir/LibBHeader.h
- test/Modules/Inputs/PR28794/module.modulemap 3 additions, 0 deletionstest/Modules/Inputs/PR28794/module.modulemap
Loading
Please register or sign in to comment