From eee709f03c26fa3ca944551f4e671b822c0ee547 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 13 Sep 2018 00:02:02 +0000 Subject: [PATCH] DebugInfo/PDB: Remove unused member llvm-svn: 342101 --- llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h | 1 - llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h index 8d1dcec..59d4361 100644 --- a/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h +++ b/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h @@ -41,7 +41,6 @@ private: std::vector Matches; uint32_t Index; NativeSession &Session; - codeview::TypeLeafKind Kind; }; } // namespace pdb diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp index c621e59..1b7ee98 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp @@ -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(NativeSession &PDBSession, NativeEnumTypes::NativeEnumTypes( NativeSession &PDBSession, const std::vector &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(Matches.size()); -- 2.7.4