diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-14 23:14:45 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-14 23:14:45 +0000 |
commit | 767a7b9ed054f9d661b5f07e252570c7b87e10af (patch) | |
tree | fec4eadeda68acfdb760a337c991a8498ecf9354 /clang/lib/Sema/SemaStmt.cpp | |
parent | 6cf6f89005b84f4a18c99a5a66504e1208388d09 (diff) | |
download | bcm5719-llvm-767a7b9ed054f9d661b5f07e252570c7b87e10af.tar.gz bcm5719-llvm-767a7b9ed054f9d661b5f07e252570c7b87e10af.zip |
[ms-inline asm] Remove the last bits of LineEnds.
llvm-svn: 161904
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r-- | clang/lib/Sema/SemaStmt.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp index 5ad6e086547..1c2b6a41c0b 100644 --- a/clang/lib/Sema/SemaStmt.cpp +++ b/clang/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); } |