Add '*' to auto variable that is a pointer, as per the coding conventions.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 01:03:39 +0000 (01:03 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 1 Nov 2014 01:03:39 +0000 (01:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221033 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index de5ffed..decc434 100644 (file)
@@ -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();