summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-01 01:03:39 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-01 01:03:39 +0000
commitbbad0bbb2f0edd72eba8ee5fcca7a18ce3a62a2b (patch)
tree79217d75aa0073e1f727fbc8dfac96ec5009f39a /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentd5336ae269d86af133cb465e1b0dba38121f11c2 (diff)
downloadbcm5719-llvm-bbad0bbb2f0edd72eba8ee5fcca7a18ce3a62a2b.tar.gz
bcm5719-llvm-bbad0bbb2f0edd72eba8ee5fcca7a18ce3a62a2b.zip
Add '*' to auto variable that is a pointer, as per the coding conventions.
llvm-svn: 221033
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index de5ffeded44..decc434598f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud