diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-06-11 20:47:18 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-06-11 20:47:18 +0000 |
commit | 8cd64b4c5553fa6284d248336cb7c82dc960a394 (patch) | |
tree | 92f7f11fe3c5cc743c96bcc26948a70d5b429bac /lib/AST/Stmt.cpp | |
parent | 1895a0a6936001374f66adbdfcf8abe5edf912ea (diff) |
Etch out the code path for MS-style inline assembly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Stmt.cpp')
-rw-r--r-- | lib/AST/Stmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/AST/Stmt.cpp b/lib/AST/Stmt.cpp index e4d9f0a1ef..97eb4d579e 100644 --- a/lib/AST/Stmt.cpp +++ b/lib/AST/Stmt.cpp @@ -550,6 +550,12 @@ AsmStmt::AsmStmt(ASTContext &C, SourceLocation asmloc, bool issimple, std::copy(clobbers, clobbers + NumClobbers, Clobbers); } +MSAsmStmt::MSAsmStmt(ASTContext &C, SourceLocation asmloc, std::string &asmstr, + SourceLocation endloc) + : Stmt(MSAsmStmtClass), AsmLoc(asmloc), EndLoc(endloc), AsmStr(asmstr), + IsSimple(true), IsVolatile(true) { +} + ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, Stmt *Body, SourceLocation FCL, SourceLocation RPL) |