llvm.org GIT mirror llvm / ec0f1aa
[llvm-pdbutil] FunctionDumper::dump(PDBSymbolTypeFunctionArg) - fix null dereference warning Reported in https://www.viva64.com/en/b/0629/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359488 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 3 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
227227 uint32_t TypeId = Symbol.getTypeId();
228228 auto Type = Symbol.getSession().getSymbolById(TypeId);
229229 if (Type)
230 Type->dump(*this);
231 else
230232 Printer << "";
231 else
232 Type->dump(*this);
233233 }
234234
235235 void FunctionDumper::dump(const PDBSymbolTypeTypedef &Symbol) {