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/SemaDecl.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/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 9c10b85ad4..3551518316 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -6094,7 +6094,6 @@ FieldDecl *Sema::CheckFieldDecl(DeclarationName Name, QualType T, if (!InvalidDecl && BitWidth && VerifyBitField(Loc, II, T, BitWidth, &ZeroWidth)) { InvalidDecl = true; - DeleteExpr(BitWidth); BitWidth = 0; ZeroWidth = false; } @@ -6390,7 +6389,6 @@ Decl *Sema::ActOnIvar(Scope *S, // 6.7.2.1p3, 6.7.2.1p4 if (VerifyBitField(Loc, II, T, BitWidth)) { D.setInvalidType(); - DeleteExpr(BitWidth); BitWidth = 0; } } else { |