projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use "auto &" in range-based for-loop and remove the extra braces.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfDebug.cpp
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index c4ab3e99c893ee856e8f73923d499884110bc542..105ff6c198f88e98816f64f38517be04f20f9f61 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-859,9
+859,8
@@
DwarfDebug::buildLocationList(SmallVectorImpl<DebugLocEntry> &DebugLoc,
auto CurEntry = DebugLoc.rbegin();
DEBUG({
dbgs() << CurEntry->getValues().size() << " Values:\n";
- for (auto
Value : CurEntry->getValues()) {
+ for (auto
&Value : CurEntry->getValues())
Value.getExpression()->dump();
- }
dbgs() << "-----\n";
});