summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-12-05 21:08:21 +0000
committerChad Rosier <mcrosier@apple.com>2012-12-05 21:08:21 +0000
commitc8e56e893195f625647ad249a17b0b532ee544a6 (patch)
treeef41b1d178f397af4178c82bbe4d0287d9b79f0c /clang/lib/Parse/ParseStmt.cpp
parent79e68bcf0e0eeb5e3127272f64243155df1e92d9 (diff)
downloadbcm5719-llvm-c8e56e893195f625647ad249a17b0b532ee544a6.tar.gz
bcm5719-llvm-c8e56e893195f625647ad249a17b0b532ee544a6.zip
[driver, ms-inline asm] MS-Style inline assembly is controlled by the
-fasm-blocks flag, not the -fms-extensions flag. rdar://12808010 llvm-svn: 169422
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
-rw-r--r--clang/lib/Parse/ParseStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp
index d097d393e22..f6f5afe4671 100644
--- a/clang/lib/Parse/ParseStmt.cpp
+++ b/clang/lib/Parse/ParseStmt.cpp
@@ -1820,7 +1820,7 @@ StmtResult Parser::ParseAsmStatement(bool &msAsm) {
assert(Tok.is(tok::kw_asm) && "Not an asm stmt");
SourceLocation AsmLoc = ConsumeToken();
- if (getLangOpts().MicrosoftExt && Tok.isNot(tok::l_paren) &&
+ if (getLangOpts().AsmBlocks && Tok.isNot(tok::l_paren) &&
!isTypeQualifier()) {
msAsm = true;
return ParseMicrosoftAsmStatement(AsmLoc);
OpenPOWER on IntegriCloud