llvm-project/clang/lib/Parse
Douglas Gregor cbb45d0c65 Cope with use of the token '>>' inside a template argument list, e.g.,
vector<vector<double>> Matrix;

In C++98/03, this token always means "right shift". However, if we're in
a context where we know that it can't mean "right shift", provide a
friendly reminder to put a space between the two >'s and then treat it
as two >'s as part of recovery.

In C++0x, this token is always broken into two '>' tokens.

llvm-svn: 65484
2009-02-25 23:02:36 +00:00
..
AstGuard.h Add a switch that allows disabling the smart pointers. 2009-01-22 17:31:11 +00:00
AttributeList.cpp don't new[] an empty array when an AttributeList has 2009-02-19 06:25:12 +00:00
CMakeLists.txt Update cmake build; patch by Csaba Hruska. 2008-12-02 16:23:30 +00:00
DeclSpec.cpp Allow "overloadable" functions in C to be declared as variadic without 2009-02-18 07:07:28 +00:00
ExtensionRAIIObject.h move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
MinimalAction.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
ParseCXXInlineMethods.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
ParseDecl.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
ParseDeclCXX.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
ParseExpr.cpp Cope with use of the token '>>' inside a template argument list, e.g., 2009-02-25 23:02:36 +00:00
ParseExprCXX.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00
ParseInit.cpp Put the invalid flag of OwningResult into the Action pointer. 2009-02-05 15:02:23 +00:00
ParseObjc.cpp Update Parser::ParseTypeName to return a TypeResult, which also tells 2009-02-18 17:45:20 +00:00
ParsePragma.cpp move library-specific diagnostic headers into library private dirs. Reduce 2009-01-29 05:15:15 +00:00
ParsePragma.h Add Parser support for #pragma pack 2008-10-04 19:21:03 +00:00
ParseStmt.cpp Put the invalid flag of OwningResult into the Action pointer. 2009-02-05 15:02:23 +00:00
ParseTemplate.cpp Cope with use of the token '>>' inside a template argument list, e.g., 2009-02-25 23:02:36 +00:00
ParseTentative.cpp Teach the type-id/expression disambiguator about different 2009-02-10 00:53:15 +00:00
Parser.cpp Implement parsing of nested-name-specifiers that involve template-ids, e.g., 2009-02-25 19:37:18 +00:00