================ @@ -22,6 +22,30 @@ using namespace llvm::logicalview; #define DEBUG_TYPE "Reader" +// Traverse all the logical elements and print its basic information. +void printCollectedElements(LVScope *Root) { + std::function<void(LVScope * Parent)> TraverseScope = [&](LVScope *Parent) { + // Print the elements. + auto Print = [&](const auto &Set) { + if (Set) ---------------- CarlosAlbertoEnciso wrote:
Good catch. Changed. https://github.com/llvm/llvm-project/pull/135440 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits