aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-14 23:14:45 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-14 23:14:45 +0000
commit92570bd1597f355d5673a94960323f81d99c4921 (patch)
tree63e12c1ffa3ebfa5d426cc2f0d44c063e65ee741 /lib/Sema/SemaStmt.cpp
parent9fbf327cfdd27ddb5d845042c95f2299ac95b143 (diff)
[ms-inline asm] Remove the last bits of LineEnds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index 5ad6e08654..1c2b6a41c0 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -2849,7 +2849,6 @@ static std::string buildMSAsmString(Sema &SemaRef,
StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
ArrayRef<Token> AsmToks,
- ArrayRef<unsigned> LineEnds,
SourceLocation EndLoc) {
// MS-style inline assembly is not fully supported, so emit a warning.
Diag(AsmLoc, diag::warn_unsupported_msasm);
@@ -2860,8 +2859,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
StringRef AsmString;
MSAsmStmt *NS =
new (Context) MSAsmStmt(Context, AsmLoc, /* IsSimple */ true,
- /* IsVolatile */ true, AsmToks, LineEnds,
- AsmString, Clobbers, EndLoc);
+ /* IsVolatile */ true, AsmToks, AsmString,
+ Clobbers, EndLoc);
return Owned(NS);
}
@@ -2886,8 +2885,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
if (!IsSimple) {
MSAsmStmt *NS =
new (Context) MSAsmStmt(Context, AsmLoc, /* IsSimple */ true,
- /* IsVolatile */ true, AsmToks, LineEnds,
- AsmString, Clobbers, EndLoc);
+ /* IsVolatile */ true, AsmToks, AsmString,
+ Clobbers, EndLoc);
return Owned(NS);
}
@@ -2930,7 +2929,7 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
MSAsmStmt *NS =
new (Context) MSAsmStmt(Context, AsmLoc, IsSimple, /* IsVolatile */ true,
- AsmToks, LineEnds, AsmString, Clobbers, EndLoc);
+ AsmToks, AsmString, Clobbers, EndLoc);
return Owned(NS);
}