summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx11-brace-initializers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve diagonstic for braced-init-list as operand to ?: expression.Richard Smith2018-05-241-1/+3
| | | | llvm-svn: 333234
* PR14918: Don't confuse braced-init-lists after template variable declarationsRichard Smith2013-01-151-0/+11
| | | | | | | | | | | with function definitions. We really should remove Parser::isDeclarationAfterDeclarator entirely, since it's meaningless in C++11 (an open brace could be either a function definition or an initializer, which is what it's trying to differentiate between). The other caller of it happens to be correct right now... llvm-svn: 172510
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* If a comma operator is followed by a token which unambiguously indicates theRichard Smith2012-09-181-0/+15
start of a statement or the end of a compound-statement, diagnose the comma as a typo for a semicolon. Patch by Ahmed Bougacha! Additional test cases and minor refactoring by me. llvm-svn: 164085
OpenPOWER on IntegriCloud