llvm-project/clang/lib/Parse
Bruno Cardoso Lopes fb9b6cd24b [Parser] Perform CachedTokens update dependent on token consumption
In the context where we break one tok::greatergreater into two
tok::greater in order to correctly update the cached tokens; update the
CachedTokens with two tok::greater only if ParseGreaterThanInTemplateList
clients asks to consume the last token. Otherwise we only need to add
one because the second is already added later on, as a not yet cached token.

Differential Revision: http://reviews.llvm.org/D16906

rdar://problem/24488367

llvm-svn: 259910
2016-02-05 19:36:39 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
ParseAST.cpp Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
ParseCXXInlineMethods.cpp Merge some similar diagnostics using %select. 2015-11-14 18:16:08 +00:00
ParseDecl.cpp Fix rejects-valid when forming a pointer-to-member with 'decltype(expr)::*'. 2016-02-02 23:34:49 +00:00
ParseDeclCXX.cpp Include RecordDecls from anonymous unions in the AST. 2016-01-28 19:25:00 +00:00
ParseExpr.cpp Fix regression from r259622: the operand of an increment that is the operand of 2016-02-03 18:48:43 +00:00
ParseExprCXX.cpp PR23057: fix use-after-free due to local token buffer in ParseCXXAmbiguousParenExpression, by Dmitry Polukhin 2016-02-04 04:22:09 +00:00
ParseInit.cpp OpaquePtr: Use nullptr construction for ParsedType OpaquePtr typedef 2016-01-15 23:43:34 +00:00
ParseObjc.cpp Class Property: parse @dynamic (class). 2016-01-29 19:05:57 +00:00
ParseOpenMP.cpp [OpenMP] Parsing + sema for target parallel for directive. 2016-02-03 15:46:42 +00:00
ParsePragma.cpp Improve AST dumping: 2016-01-12 21:59:26 +00:00
ParseStmt.cpp PR23057: Fix assertion `Val && "isa<> used on a null pointer"' on invalid for-range expression. 2016-02-02 17:33:09 +00:00
ParseStmtAsm.cpp -inline-asm][X86] Add ability to use AVX512 in MS inline asm 2016-02-03 11:32:08 +00:00
ParseTemplate.cpp [Parser] Perform CachedTokens update dependent on token consumption 2016-02-05 19:36:39 +00:00
ParseTentative.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
Parser.cpp Include RecordDecls from anonymous unions in the AST. 2016-01-28 19:25:00 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00