projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6df7f
)
Remove unnecessary braces
author
David Blaikie
<dblaikie@gmail.com>
Fri, 8 Jul 2022 21:37:24 +0000
(21:37 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Fri, 8 Jul 2022 21:37:24 +0000
(21:37 +0000)
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
index
33f79ba
..
15a2d23
100644
(file)
--- a/
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+++ b/
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
@@
-153,11
+153,10
@@
static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die,
if (!Name.empty())
WithColor(OS, Color) << Name;
else if (Attr == DW_AT_decl_line || Attr == DW_AT_call_line) {
- if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
{
+ if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
OS << *Val;
- } else {
+ else
FormValue.dump(OS, DumpOpts);
- }
} else if (Attr == DW_AT_low_pc &&
(FormValue.getAsAddress() ==
dwarf::computeTombstoneAddress(U->getAddressByteSize()))) {