[cfe-commits] r96087 - /cfe/trunk/lib/CodeGen/CGVtable.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Feb 13 01:15:07 PST 2010


Author: d0k
Date: Sat Feb 13 03:15:07 2010
New Revision: 96087

URL: http://llvm.org/viewvc/llvm-project?rev=96087&view=rev
Log:
Remove dead {include, semicolon, variable}.

Modified:
    cfe/trunk/lib/CodeGen/CGVtable.cpp

Modified: cfe/trunk/lib/CodeGen/CGVtable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVtable.cpp?rev=96087&r1=96086&r2=96087&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGVtable.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGVtable.cpp Sat Feb 13 03:15:07 2010
@@ -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 @@
     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 @@
     uint64_t Index = I;
     
     if (AddressPointsByIndex.count(I)) {
-      std::string Str;
-
-      
       if (AddressPointsByIndex.count(Index) == 1) {
         const BaseSubobject &Base = AddressPointsByIndex.find(Index)->second;
         





More information about the cfe-commits mailing list