diff options
author | Pavel Labath <pavel@labath.sk> | 2024-06-07 08:39:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 08:39:10 +0200 |
commit | 90b9922df2d8fb65a33eb9abd002fa9262863b5b (patch) | |
tree | f17b4fbb35c810862c80a6e9ef18df3c41481c7c /llvm/lib/CodeGen/TargetOptionsImpl.cpp | |
parent | d843c02aba5d253891ea0e599c4b6e25247c1af7 (diff) | |
download | llvm-90b9922df2d8fb65a33eb9abd002fa9262863b5b.zip llvm-90b9922df2d8fb65a33eb9abd002fa9262863b5b.tar.gz llvm-90b9922df2d8fb65a33eb9abd002fa9262863b5b.tar.bz2 |
[lldb] Split ValueObject::CreateChildAtIndex into two functions (#94455)
The the function is doing two fairly different things, depending on how
it is called. While this allows for some code reuse, it also makes it
hard to override it correctly. Possibly for this reason
ValueObjectSynthetic overerides GetChildAtIndex instead, which forces it
to reimplement some of its functionality, most notably caching of
generated children.
Splitting this up makes it easier to move the caching to a common place
(and hopefully makes the code easier to follow in general).
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
0 files changed, 0 insertions, 0 deletions