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

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 00:50:52 PDT 2025


================
@@ -163,13 +163,12 @@ void checkUnspecifiedParameters(LVReader *Reader) {
   LVPublicNames::const_iterator IterNames = PublicNames.cbegin();
   LVScope *Function = (*IterNames).first;
   EXPECT_EQ(Function->getName(), "foo_printf");
-  const LVElements *Elements = Function->getChildren();
-  ASSERT_NE(Elements, nullptr);
+  const auto Elements = Function->getChildren();
----------------
CarlosAlbertoEnciso wrote:

May be use the `LVElementsView`?

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


More information about the llvm-commits mailing list