diff options
author | Mike Stump <mrs@apple.com> | 2010-01-04 22:37:17 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2010-01-04 22:37:17 +0000 |
commit | 90be58afce42b766dcb0a5bcaa54d136ffb63b58 (patch) | |
tree | 0a38051f4638eeeb9aeaac712e51e0851a8f87e2 /clang/lib/AST/Stmt.cpp | |
parent | b8e66c3b143b2057bde555468b4f7116f4e6eb55 (diff) | |
download | bcm5719-llvm-90be58afce42b766dcb0a5bcaa54d136ffb63b58.tar.gz bcm5719-llvm-90be58afce42b766dcb0a5bcaa54d136ffb63b58.zip |
Remember if the AsmStmt came from Microsoft-style inline assembly code.
llvm-svn: 92526
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
-rw-r--r-- | clang/lib/AST/Stmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp index 7c7aeb8d3e1..104e3361892 100644 --- a/clang/lib/AST/Stmt.cpp +++ b/clang/lib/AST/Stmt.cpp @@ -337,12 +337,12 @@ unsigned AsmStmt::AnalyzeAsmString(llvm::SmallVectorImpl<AsmStringPiece>&Pieces, //===----------------------------------------------------------------------===// AsmStmt::AsmStmt(SourceLocation asmloc, bool issimple, bool isvolatile, - unsigned numoutputs, unsigned numinputs, + bool msasm, unsigned numoutputs, unsigned numinputs, std::string *names, StringLiteral **constraints, Expr **exprs, StringLiteral *asmstr, unsigned numclobbers, StringLiteral **clobbers, SourceLocation rparenloc) : Stmt(AsmStmtClass), AsmLoc(asmloc), RParenLoc(rparenloc), AsmStr(asmstr) - , IsSimple(issimple), IsVolatile(isvolatile) + , IsSimple(issimple), IsVolatile(isvolatile), MSAsm(msasm) , NumOutputs(numoutputs), NumInputs(numinputs) { for (unsigned i = 0, e = numinputs + numoutputs; i != e; i++) { Names.push_back(names[i]); |