Don't get confused on the number of braces when braces start after the first __asm
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 15 Jul 2014 02:21:41 +0000 (02:21 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Tue, 15 Jul 2014 02:21:41 +0000 (02:21 +0000)
commit833ed943d643b8c5a889a8fe1a3486a41201458c
tree33547a15e314e3f9c303c139d006efa03cf3c335
parentca3976f7aef49af78926ff542809e28c2eac22f1
Don't get confused on the number of braces when braces start after the first __asm

Summary:
Without this, we would not consume the closing brace which would cause
the parser to start consuming C++ and bad things would happen.

Reviewers: majnemer

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4505

llvm-svn: 213032
clang/lib/Parse/ParseStmtAsm.cpp
clang/test/Parser/ms-inline-asm.c