[PATCH] D28569: Remove all variants of DWARFDie::getAttributeValueAs...() that had parameters that specified default values.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 09:41:14 PST 2017


clayborg created this revision.
clayborg added reviewers: dblaikie, aprantl, probinson, llvm-commits.
Herald added a subscriber: jgosnell.

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


https://reviews.llvm.org/D28569

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28569.83994.patch
Type: text/x-patch
Size: 28342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/2970dc08/attachment-0001.bin>


More information about the llvm-commits mailing list