Add '*' to auto variable that is a pointer, as per the coding conventions.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.cpp
index de5ffeded44711223103f18481c024de41d8c4ef..decc434598f8af5080132761702b72b4a1b073a8 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();