llvm.org GIT mirror llvm / 9a031b8
Add parentheses to silence warning. DWARFContext.cpp:356:20: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346365 91177308-0d34-0410-b5e6-96231b3b80d8 Jorge Gorbe Moya 10 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
352352
353353 auto dumpDebugInfo = [&](const char *Name, unit_iterator_range Units) {
354354 OS << '\n' << Name << " contents:\n";
355 if (DumpOffset = DumpOffsets[DIDT_ID_DebugInfo])
355 if ((DumpOffset = DumpOffsets[DIDT_ID_DebugInfo]))
356356 for (const auto &U : Units)
357357 U->getDIEForOffset(DumpOffset.getValue())
358358 .dump(OS, 0, DumpOpts.noImplicitRecursion());