================
@@ -572,6 +620,8 @@ void ASTNode::render(const json::Value &CurrentCtx,
raw_ostream &OS) {
ParentContext = &CurrentCtx;
const json::Value *ContextPtr = Ty == Root ? ParentContext : findContext();
+ if (AccessorValue.empty() && (Ty != Root && Ty != Text))
+ return;
----------------
nikic wrote:
Unrelated change?
https://github.com/llvm/llvm-project/pull/160165
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits