diff options
author | John McCall <rjmccall@apple.com> | 2010-09-03 02:10:08 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-09-03 02:10:08 +0000 |
commit | 8c465e6494d16a19127873dc9bdc55177ac6b6fd (patch) | |
tree | 42f1593da6c9d9347b61ba516dfeaf0294f4cc67 /lib/Sema/SemaStmt.cpp | |
parent | db50547fd526329d00fa1fee4e7ac90f2624c6e0 (diff) |
Devirtualize Sema, kill off DeleteExpr and DeleteStmt, and reformat.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r-- | lib/Sema/SemaStmt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp index aa1aa028c4..b7d38e44ae 100644 --- a/lib/Sema/SemaStmt.cpp +++ b/lib/Sema/SemaStmt.cpp @@ -1368,7 +1368,6 @@ StmtResult Sema::ActOnAsmStmt(SourceLocation AsmLoc, if (unsigned DiagID = NS->AnalyzeAsmString(Pieces, Context, DiagOffs)) { Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID) << AsmString->getSourceRange(); - DeleteStmt(NS); return StmtError(); } @@ -1459,7 +1458,6 @@ StmtResult Sema::ActOnAsmStmt(SourceLocation AsmLoc, diag::err_asm_tying_incompatible_types) << InTy << OutTy << OutputExpr->getSourceRange() << InputExpr->getSourceRange(); - DeleteStmt(NS); return StmtError(); } |