When performing template argument deduction, ensure that multiple
deductions of the same template parameter are equivalent. This allows us to implement the is_same type trait (!). Also, move template argument deduction into its own file and update a few build systems with this change (grrrr). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72819 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclTemplate.h 12 additions, 5 deletionsinclude/clang/AST/DeclTemplate.h
- lib/Sema/CMakeLists.txt 1 addition, 0 deletionslib/Sema/CMakeLists.txt
- lib/Sema/Sema.h 0 additions, 8 deletionslib/Sema/Sema.h
- lib/Sema/SemaTemplate.cpp 14 additions, 86 deletionslib/Sema/SemaTemplate.cpp
- lib/Sema/SemaTemplateDeduction.cpp 121 additions, 0 deletionslib/Sema/SemaTemplateDeduction.cpp
- lib/Sema/SemaTemplateInstantiate.cpp 4 additions, 0 deletionslib/Sema/SemaTemplateInstantiate.cpp
- test/SemaTemplate/temp_class_spec.cpp 18 additions, 0 deletionstest/SemaTemplate/temp_class_spec.cpp
Loading
Please register or sign in to comment