[llvm] r342101 - DebugInfo/PDB: Remove unused member

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 12 17:02:02 PDT 2018


Author: dblaikie
Date: Wed Sep 12 17:02:02 2018
New Revision: 342101

URL: http://llvm.org/viewvc/llvm-project?rev=342101&view=rev
Log:
DebugInfo/PDB: Remove unused member

Modified:
    llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
    llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp

Modified: llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h?rev=342101&r1=342100&r2=342101&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h Wed Sep 12 17:02:02 2018
@@ -41,7 +41,6 @@ private:
   std::vector<codeview::TypeIndex> Matches;
   uint32_t Index;
   NativeSession &Session;
-  codeview::TypeLeafKind Kind;
 };
 
 } // namespace pdb

Modified: llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp?rev=342101&r1=342100&r2=342101&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp Wed Sep 12 17:02:02 2018
@@ -21,7 +21,7 @@ namespace pdb {
 NativeEnumTypes::NativeEnumTypes(NativeSession &PDBSession,
                                  codeview::LazyRandomTypeCollection &Types,
                                  codeview::TypeLeafKind Kind)
-    : Matches(), Index(0), Session(PDBSession), Kind(Kind) {
+    : Matches(), Index(0), Session(PDBSession) {
   for (auto Index = Types.getFirst(); Index;
        Index = Types.getNext(Index.getValue())) {
     if (Types.getType(Index.getValue()).kind() == Kind)
@@ -32,7 +32,7 @@ NativeEnumTypes::NativeEnumTypes(NativeS
 NativeEnumTypes::NativeEnumTypes(
     NativeSession &PDBSession, const std::vector<codeview::TypeIndex> &Matches,
     codeview::TypeLeafKind Kind)
-    : Matches(Matches), Index(0), Session(PDBSession), Kind(Kind) {}
+    : Matches(Matches), Index(0), Session(PDBSession) {}
 
 uint32_t NativeEnumTypes::getChildCount() const {
   return static_cast<uint32_t>(Matches.size());




More information about the llvm-commits mailing list