]> granicus.if.org Git - llvm/commit
Remove all variants of DWARFDie::getAttributeValueAs...() that had parameters that...
authorGreg Clayton <gclayton@apple.com>
Wed, 11 Jan 2017 17:43:37 +0000 (17:43 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 11 Jan 2017 17:43:37 +0000 (17:43 +0000)
commita9a480efd13e62975bd68f637e406c089ad3f0b4
tree6a70a09c127b0666557e8fe102d1b6dcb3248c04
parent8ae3333f341077a67e2620a90e3883b09ab22e7c
Remove all variants of DWARFDie::getAttributeValueAs...() that had parameters that specified default values.

Now we only support returning Optional<> values and have changed all clients over to use Optional::getValueOr().

Differential Revision: https://reviews.llvm.org/D28569

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291686 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFDie.h
lib/DebugInfo/DWARF/DWARFDie.cpp
lib/DebugInfo/DWARF/DWARFUnit.cpp
tools/dsymutil/DwarfLinker.cpp
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp