diff options
author | Richard Trieu <rtrieu@google.com> | 2019-05-01 23:33:49 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2019-05-01 23:33:49 +0000 |
commit | 2efd30571bcc53003376410d4221f7e4dd19f4c3 (patch) | |
tree | ad55278aa328faa44cdcf75d0fef84918043ce82 /llvm/docs/CommandGuide/FileCheck.rst | |
parent | d5c04860c1aab8bf056ab743de5414f634df359f (diff) | |
download | llvm-2efd30571bcc53003376410d4221f7e4dd19f4c3.zip llvm-2efd30571bcc53003376410d4221f7e4dd19f4c3.tar.gz llvm-2efd30571bcc53003376410d4221f7e4dd19f4c3.tar.bz2 |
Consume unexpected "template" keywords after "using"
The parser was dealing with unexpected "template" keywords after "using"
keywords too late and putting the parser into the wrong state, which could
lead to a crash down the line. This change allows the parser to consume the
bad "template" keywords earlier, and continue parsing as if "template" was
never there to begin with for better error recovery.
llvm-svn: 359740
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
0 files changed, 0 insertions, 0 deletions