diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-12-29 21:56:22 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-12-29 21:56:22 +0000 |
commit | bbe74454da54091758409a2f2aa9680f335bd361 (patch) | |
tree | 4ebecb217403d921d64b940eeff2a5420bce7f29 /lib/CodeGen | |
parent | dfa25cb2d16f812bb28bdf60b6b891f4e9140072 (diff) |
Crash even less on malformed attributes in an incorrect location.
This is a follow-up to r224915. This adds a bit more line noise to the tests
added in that revision to make sure the parser is ready for a toplevel decl
after each incorrect line. Use this to move the tests up to where they belong.
This uncovered that the early return was missing a call to
ActOnTagDefinitionError(), so add that. (Also fixes at least one of the crashes
on SLi's bot.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions