llvm-project/clang/lib/Parse
Douglas Gregor 20c38a7c58 Improve recovery when we see a dependent template name that is missing
the required "template" keyword, using the same heuristics we do for
dependent template names in member access expressions, e.g.,

test/SemaTemplate/dependent-template-recover.cpp:11:8: error: use 'template'
      keyword to treat 'getAs' as a dependent template name
    T::getAs<U>();
       ^
       template 

Fixes PR5404.

llvm-svn: 104409
2010-05-21 23:43:39 +00:00
..
AttributeList.cpp Add clang support for IBOutletCollection. 2010-05-19 17:38:06 +00:00
CMakeLists.txt Reorder files. 2009-07-21 21:03:50 +00:00
DeclSpec.cpp Keep track of the actual storage specifier written on a variable or 2010-04-19 22:54:31 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
MinimalAction.cpp Improve parser recovery when we encounter a dependent template name 2010-05-21 23:18:07 +00:00
ParseCXXInlineMethods.cpp Make Parser::ConsumeAndStoreUntil() more consistent with Parser::SkipUntil(). 2010-04-23 21:20:12 +00:00
ParseDecl.cpp Propagate access specifiers to anonymous union members nested within classes. 2010-05-21 20:45:30 +00:00
ParseDeclCXX.cpp Propagate access specifiers to anonymous union members nested within classes. 2010-05-21 20:45:30 +00:00
ParseExpr.cpp When parsing a cast-expression that starts with a scope annotation, 2010-04-23 02:08:13 +00:00
ParseExprCXX.cpp Improve recovery when we see a dependent template name that is missing 2010-05-21 23:43:39 +00:00
ParseInit.cpp Implement parsing for message sends in Objective-C++. Message sends in 2010-04-21 22:36:40 +00:00
ParseObjc.cpp This patch deals with Sema Part of Setter/Getter synthesis 2010-05-05 21:52:17 +00:00
ParsePragma.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ParsePragma.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ParseStmt.cpp Improve parser recovery when a switch condition is invalid; fixes 2010-05-20 23:20:59 +00:00
ParseTemplate.cpp Improve recovery when we see a dependent template name that is missing 2010-05-21 23:43:39 +00:00
ParseTentative.cpp Add support for Microsoft's __thiscall, from Steven Watanabe! 2010-05-18 16:57:00 +00:00
Parser.cpp Improve parser recovery when we encounter a dependent template name 2010-05-21 23:18:07 +00:00
RAIIObjectsForParser.h Privatize class members. 2009-12-10 21:50:21 +00:00