]> granicus.if.org Git - clang/commit
[Parse] Let declarations follow labels in -fms-extensions mode
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 1 Aug 2016 16:39:29 +0000 (16:39 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 1 Aug 2016 16:39:29 +0000 (16:39 +0000)
commitccbfd6c29661bacd81758db6527191bb7efa2c90
tree6cf66823dbd3c3f784bab8c7a3b5a45088aa0911
parenta70f96e037411959d26711a7648342e6f9700afb
[Parse] Let declarations follow labels in -fms-extensions mode

MSVC permits declarations in these places as conforming extension (it is
a constraint violation otherwise).

This fixes PR28782.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseStmt.cpp
test/Parser/MicrosoftExtensions.c