Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix parsing nested __if_exists blocks | Reid Kleckner | 2014-06-25 | 1 | -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 extension | Reid Kleckner | 2014-06-25 | 1 | -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 file | Reid Kleckner | 2014-06-25 | 1 | -0/+93 |
llvm-svn: 211649 |