diff options
author | Chris Bieneman <beanz@apple.com> | 2017-03-06 19:25:07 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-03-06 19:25:07 +0000 |
commit | a175512b18478848bdbe203f2d25dc417860e3c5 (patch) | |
tree | 0c564745fc34f8fa885e1c98418071c0966e876d /llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp | |
parent | b1d026f0fe09af37efb7a245a0183eb9714292ca (diff) | |
download | bcm5719-llvm-a175512b18478848bdbe203f2d25dc417860e3c5.tar.gz bcm5719-llvm-a175512b18478848bdbe203f2d25dc417860e3c5.zip |
[DWARF] NFC. A few bits of minor code cleanup.
David Blaikie pointed out that the `setForceChildren` API is no longer needed and should be removed from the DWARF Generator APIs.
Also the DWARFDebugInfoTest file had some copy pasted comments that are not relevant. I've removed them.
llvm-svn: 297056
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp index 2c14786e584..ac63bbaf0a1 100644 --- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp @@ -108,10 +108,6 @@ dwarfgen::DIE dwarfgen::CompileUnit::getUnitDIE() { return dwarfgen::DIE(this, &DU.getUnitDie()); } -void dwarfgen::DIE::setForceChildren() { - Die->setForceChildren(true); -} - //===----------------------------------------------------------------------===// /// dwarfgen::Generator implementation. //===----------------------------------------------------------------------===// |