[llvm] r221033 - Add '*' to auto variable that is a pointer, as per the coding conventions.
David Blaikie
dblaikie at gmail.com
Fri Oct 31 18:03:39 PDT 2014
Author: dblaikie
Date: Fri Oct 31 20:03:39 2014
New Revision: 221033
URL: http://llvm.org/viewvc/llvm-project?rev=221033&view=rev
Log:
Add '*' to auto variable that is a pointer, as per the coding conventions.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=221033&r1=221032&r2=221033&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Fri Oct 31 20:03:39 2014
@@ -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();
More information about the llvm-commits
mailing list