[llvm-pdbdump] Fix a few compilation failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2015-02-22 22:20:26 +00:00
parent b0c9a66224
commit 86a84e3368
2 changed files with 2 additions and 3 deletions

View File

@ -20,6 +20,8 @@
#include "llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h"
#include "llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h"
using namespace llvm;
namespace {
template <class T>
void dumpClassParentWithScopeOperator(const T &Symbol, llvm::raw_ostream &OS,
@ -35,8 +37,6 @@ void dumpClassParentWithScopeOperator(const T &Symbol, llvm::raw_ostream &OS,
}
}
using namespace llvm;
FunctionDumper::FunctionDumper() : PDBSymDumper(true) {}
void FunctionDumper::start(const PDBSymbolTypeFunctionSig &Symbol,

View File

@ -83,7 +83,6 @@ static void dumpInput(StringRef Path) {
if (GlobalScope->hasPrivateSymbols())
outs() << "HasPrivateSymbols ";
PDB_DumpFlags Flags = PDB_DF_None;
if (opts::DumpTypes) {
outs() << "\nDumping types";
TypeDumper Dumper;