diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-02-05 19:36:39 +0000 | 
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-02-05 19:36:39 +0000 | 
| commit | fb9b6cd24b26a3e57b627be06415adf3a881435f (patch) | |
| tree | e904e5435ebccdeb8cb8db3b482d7ff3bec2b1ef /llvm/unittests/Support/TrailingObjectsTest.cpp | |
| parent | 98762d242967ff0bec8a47443212eed8a4c4c553 (diff) | |
| download | llvm-fb9b6cd24b26a3e57b627be06415adf3a881435f.zip llvm-fb9b6cd24b26a3e57b627be06415adf3a881435f.tar.gz llvm-fb9b6cd24b26a3e57b627be06415adf3a881435f.tar.bz2  | |
[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
Diffstat (limited to 'llvm/unittests/Support/TrailingObjectsTest.cpp')
0 files changed, 0 insertions, 0 deletions
