aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-08 17:35:36 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-08 17:35:36 +0000
commit3a32c9c565f970fd319b97a6056a4725cfa4f0f5 (patch)
tree6d0bf41be74c335104923d627ccfc06b39db7652 /lib/Sema/SemaStmt.cpp
parent50800fc551ac6b8a95cca662223e7f061bbd169a (diff)
Add the IsSimple/IsVolatile parameters to the MSAsmStmt constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index 5df1a50655..2161aebe38 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -2755,7 +2755,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
Diag(AsmLoc, diag::warn_unsupported_msasm);
MSAsmStmt *NS =
- new (Context) MSAsmStmt(Context, AsmLoc, AsmToks, AsmString, EndLoc);
+ new (Context) MSAsmStmt(Context, AsmLoc, true, true, AsmToks, AsmString,
+ EndLoc);
return Owned(NS);
}