summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/ms-if-exists.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing nested __if_exists blocksReid Kleckner2014-06-251-2/+16
| | | | | | | | | | | Rather than having kw___if_exists be a special case of ParseCompoundStatementBody, we can look for kw___if_exists in the big switch over for valid statement tokens in ParseStatementOrDeclaration. Nested __if_exists blocks are used in the DECLARE_REGISTRY_RESOURCEID macro from atlcom.h. llvm-svn: 211654
* Add a missing test for the __if_exists extensionReid Kleckner2014-06-251-0/+10
| | | | | | | MSVC does not create a new scope for the body of an __if_exists compound statement. Clang already gets this right today, but it was untested. llvm-svn: 211650
* Split tests for __if_exists out into their own fileReid Kleckner2014-06-251-0/+93
llvm-svn: 211649
OpenPOWER on IntegriCloud