commit | eaf75f4e0f65444bb122ade7725a4a32badcbf77 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Nov 12 00:03:40 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Nov 12 00:03:40 2009 +0000 |
tree | 33c9e09d3fa75f710f853124532dab5a11530287 | |
parent | c7162937a4ccd044a0df67eed4a73ee828c49162 [diff] |
Remove an overly-eager assertion when replacing tokens with an annotation token, because some of the tokens we're annotating might not be in the set of cached tokens (we could have consumed them unconditionally). Also, move the tentative parsing from ParseTemplateTemplateArgument into the one caller that needs it, improving recovery. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86904 91177308-0d34-0410-b5e6-96231b3b80d8