[llvm] [llvm-debuginfo-analyzer] Remove `LVScope::Children` container (PR #144750)

Javier Lopez-Gomez via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 09:40:25 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 {
----------------
jalopezg-git wrote:

I have added the `LVElementsView` type alias (see [here](https://github.com/llvm/llvm-project/pull/144750/files#diff-85d40304e38f0ab619a00f93fc3b5f5b04aa1e795319fab5589d2b06dc243326R84)); PTAL.

https://github.com/llvm/llvm-project/pull/144750


More information about the llvm-commits mailing list