summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-11-26 02:52:41 +0000
committerAlp Toker <alp@nuanti.com>2013-11-26 02:52:41 +0000
commited197d08c90d82e1119774e10920e6f7a841c8ec (patch)
tree3d7138002568c8f2ca57a26fd5e8a7a6bcaf9eba /lib/CodeGen/CGClass.cpp
parentd8a96a63a331f5486e88ade9f98195b9ef44c954 (diff)
downloadclang-ed197d08c90d82e1119774e10920e6f7a841c8ec.tar.gz
clang-ed197d08c90d82e1119774e10920e6f7a841c8ec.tar.bz2
clang-ed197d08c90d82e1119774e10920e6f7a841c8ec.tar.xz
Remove some unused locals
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
-rw-r--r--lib/CodeGen/CGClass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp
index 4848d7565d..27aefe482f 100644
--- a/lib/CodeGen/CGClass.cpp
+++ b/lib/CodeGen/CGClass.cpp
@@ -1504,7 +1504,6 @@ void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD,
}
// Destroy direct fields.
- SmallVector<const FieldDecl *, 16> FieldDecls;
for (CXXRecordDecl::field_iterator I = ClassDecl->field_begin(),
E = ClassDecl->field_end(); I != E; ++I) {
const FieldDecl *field = *I;