[llvm-branch-commits] [llvm] [llvm][mustache] Specialize delimiter search (PR #160165)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 22 11:48:43 PDT 2025


================
@@ -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


More information about the llvm-branch-commits mailing list