aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-05-11 14:32:36 -0700
committerAlex Langford <alangford@apple.com>2023-05-12 12:17:21 -0700
commitc909b491cb5f392147de4490749abc1e5372a571 (patch)
tree5ad4783177bd57f53d3cc91047a3c4cb255d5f1d /llvm/lib/Support/StringRef.cpp
parent297e06cf4b03e4c4840c580e6314e9c4c19b856f (diff)
downloadllvm-c909b491cb5f392147de4490749abc1e5372a571.zip
llvm-c909b491cb5f392147de4490749abc1e5372a571.tar.gz
llvm-c909b491cb5f392147de4490749abc1e5372a571.tar.bz2
[lldb][NFCI] Change return type of DWARFDebugInfoEntry::GetAttributes
The purpose of this method is to get the list of attributes of a DebugInfoEntry. Prior to this change we were passing in a mutable reference to a DWARFAttributes object and having the method fill it in for us while returning the size of the filled out list. But instead of doing that, we can just return a `DWARFAttributes` object ourselves since every caller creates a new list before calling GetAttributes. Differential Revision: https://reviews.llvm.org/D150402
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions