[llvm] [llvm-debuginfo-analyzer] Remove `LVScope::Children` container (PR #144750)
Carlos Alberto Enciso via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 23 00:37:15 PDT 2025
================
@@ -213,7 +211,17 @@ class LLVM_ABI LVScope : public LVElement {
const LVScopes *getScopes() const { return Scopes.get(); }
const LVSymbols *getSymbols() const { return Symbols.get(); }
const LVTypes *getTypes() const { return Types.get(); }
- const LVElements *getChildren() const { return Children.get(); }
+ // Return view over union of child Types, Symbols, and Scopes.
+ auto getChildren() const {
----------------
CarlosAlbertoEnciso wrote:
Just for consistency, instead of `auto` can we specify the return type. Same as `getSortedChildren`.
https://github.com/llvm/llvm-project/pull/144750
More information about the llvm-commits
mailing list