PR 12586: Fix assert while running libc++ testsuite: deal with exception
specifications on member function templates of class templates and other such nested beasties. Store the function template from which we are to instantiate an exception specification rather than trying to deduce it. Plus some additional test cases. llvm-svn: 155076
Showing
- clang/include/clang/AST/Type.h 21 additions, 5 deletionsclang/include/clang/AST/Type.h
- clang/lib/AST/ASTContext.cpp 1 addition, 1 deletionclang/lib/AST/ASTContext.cpp
- clang/lib/AST/Type.cpp 2 additions, 1 deletionclang/lib/AST/Type.cpp
- clang/lib/Sema/SemaExpr.cpp 2 additions, 3 deletionsclang/lib/Sema/SemaExpr.cpp
- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 14 additions, 17 deletionsclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
- clang/test/CodeGenCXX/cxx11-exception-spec.cpp 55 additions, 1 deletionclang/test/CodeGenCXX/cxx11-exception-spec.cpp
- clang/test/SemaTemplate/instantiate-exception-spec-cxx11.cpp 15 additions, 2 deletionsclang/test/SemaTemplate/instantiate-exception-spec-cxx11.cpp
Loading
Please register or sign in to comment