Revert r107690 (for PR7417) and add a testcase that it breaks. The approach of
that change turns out to not be reasonable: mutating the AST of a parsed template during instantiation is not a sound thing to do, does not work across chained PCH / modules builds, and is in any case a special-case workaround to a more general problem that should be solved centrally. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249342 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 0 additions, 6 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaExpr.cpp 1 addition, 42 deletionslib/Sema/SemaExpr.cpp
- lib/Sema/SemaTemplateInstantiate.cpp 0 additions, 8 deletionslib/Sema/SemaTemplateInstantiate.cpp
- test/SemaTemplate/instantiate-expr-6.cpp 12 additions, 0 deletionstest/SemaTemplate/instantiate-expr-6.cpp
- test/SemaTemplate/ms-lookup-template-base-classes.cpp 5 additions, 5 deletionstest/SemaTemplate/ms-lookup-template-base-classes.cpp
Loading
Please register or sign in to comment