llvm-pdbdump: Fix gcc/clang build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230187 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Majnemer 2015-02-22 22:33:57 +00:00
parent 86a84e3368
commit 1f229009ed

View File

@ -28,7 +28,7 @@ void dumpClassParentWithScopeOperator(const T &Symbol, llvm::raw_ostream &OS,
llvm::FunctionDumper &Dumper) { llvm::FunctionDumper &Dumper) {
uint32_t ClassParentId = Symbol.getClassParentId(); uint32_t ClassParentId = Symbol.getClassParentId();
auto ClassParent = auto ClassParent =
Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>(
ClassParentId); ClassParentId);
if (!ClassParent) if (!ClassParent)
return; return;