From: David Blaikie Date: Sat, 1 Nov 2014 01:03:39 +0000 (+0000) Subject: Add '*' to auto variable that is a pointer, as per the coding conventions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf29eb3ad1f484fa57b4663736061043917ba5f8;p=oota-llvm.git Add '*' to auto variable that is a pointer, as per the coding conventions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221033 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index de5ffeded44..decc434598f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1579,7 +1579,7 @@ void DwarfDebug::emitDebugPubSection( if (Globals.empty()) continue; - if (auto Skeleton = TheU->getSkeleton()) + if (auto *Skeleton = TheU->getSkeleton()) TheU = Skeleton; unsigned ID = TheU->getUniqueID();