summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/ast-dump-invalid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* P0305R0: Semantic analysis and code generation for C++17 init-statement for ↵Richard Smith2016-07-141-1/+1
| | | | | | | | | | 'if' and 'switch': if (stmt; condition) { ... } Patch by Anton Bikineev! Some minor formatting and comment tweets by me. llvm-svn: 275350
* Keep invalid functions as part of the ASTOlivier Goffart2016-06-161-0/+21
| | | | | | Differential Revision: http://reviews.llvm.org/D19764 llvm-svn: 272962
* Keep the IfStmt node even if the condition is invalidOlivier Goffart2015-10-111-0/+23
| | | | | | | This is important to keep the information in IDE or other tools even if the code contains a few errors llvm-svn: 249982
* Remove an assert that's not true on invalid code.Nico Weber2015-01-041-0/+20
r185773 added an assert that checked that a CXXUnresolvedConstructExpr either has a valid rparen, or exactly one argument. This doesn't have to be true for invalid inputs. Convert the assert to an if, and add a test for this case. Found by SLi's afl bot. llvm-svn: 225140
OpenPOWER on IntegriCloud