diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-13 09:15:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-02-13 09:15:07 +0000 |
commit | 03d15f00243d97116097519feff480ae008ab4b8 (patch) | |
tree | 8141dcde3052f383833132ba3db68697053e1ecb /lib/CodeGen/CGVtable.cpp | |
parent | e3d0b1c1fe6c2f78e276e0a1f1ec8c64c0ace313 (diff) |
Remove dead {include, semicolon, variable}.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r-- | lib/CodeGen/CGVtable.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp index 715fb18428..c0291486f7 100644 --- a/lib/CodeGen/CGVtable.cpp +++ b/lib/CodeGen/CGVtable.cpp @@ -16,7 +16,6 @@ #include "clang/AST/CXXInheritance.h" #include "clang/AST/RecordLayout.h" #include "llvm/ADT/DenseSet.h" -#include "llvm/ADT/StringExtras.h" #include "llvm/Support/Format.h" #include <cstdio> @@ -137,7 +136,7 @@ public: BaseOffset(const CXXRecordDecl *VirtualBase, uint64_t NonVirtualOffset) : VirtualBase(VirtualBase), NonVirtualOffset(NonVirtualOffset) { } - bool isEmpty() const { return !NonVirtualOffset && !VirtualBase; }; + bool isEmpty() const { return !NonVirtualOffset && !VirtualBase; } }; /// OverriderInfo - Information about a final overrider. @@ -836,9 +835,6 @@ void VtableBuilder::dumpLayout(llvm::raw_ostream& Out) { uint64_t Index = I; if (AddressPointsByIndex.count(I)) { - std::string Str; - - if (AddressPointsByIndex.count(Index) == 1) { const BaseSubobject &Base = AddressPointsByIndex.find(Index)->second; |