aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-06 20:03:45 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-06 20:03:45 +0000
commit8f726de55412870ef70e788b852c6cc50873e15b (patch)
tree329890730d3048e4c6de8eb79ae2de053c83fe46 /lib/Sema/SemaStmt.cpp
parentcc83f26c48dfdc99ea5fbc3c28c9c9653bd71e8c (diff)
[ms-inline asm] Pass Tokens to Sema and store them in the AST. No functional
change intended. No test case as there's no real way to test at this time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161342 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 4612930d45..718a7e6b53 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -2748,13 +2748,14 @@ StmtResult Sema::ActOnAsmStmt(SourceLocation AsmLoc, bool IsSimple,
}
StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
+ SmallVectorImpl<Token> &AsmToks,
std::string &AsmString,
SourceLocation EndLoc) {
// MS-style inline assembly is not fully supported, so emit a warning.
Diag(AsmLoc, diag::warn_unsupported_msasm);
MSAsmStmt *NS =
- new (Context) MSAsmStmt(Context, AsmLoc, AsmString, EndLoc);
+ new (Context) MSAsmStmt(Context, AsmLoc, AsmToks, AsmString, EndLoc);
return Owned(NS);
}