Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. Remove redundant CXXScopeSpec from TemplateIdAnnotation. (details)
Commit a42fd84cff265b7e9faa3fe42885ee171393e4db by richard
Remove redundant CXXScopeSpec from TemplateIdAnnotation.
A TemplateIdAnnotation represents only a template-id, not a
nested-name-specifier plus a template-id. Don't make a redundant copy of
the CXXScopeSpec and store it on the template-id annotation.
This slightly improves error recovery by more properly handling the case
where we would form an invalid CXXScopeSpec while parsing a typename
specifier, instead of accidentally putting the token stream into a
broken "annot_template_id with a scope specifier, but with no preceding
annot_cxxscope token" state.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaTemplate/rdar9173693.cpp
The file was modifiedclang/include/clang/Sema/ParsedTemplate.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/Parser/cxx-decl.cpp