Files
clang-p2996/llvm/lib/Support/Mustache.cpp
Paul Kirth 8e77263ad0 [llvm][mustache] Fix UB in ASTNode::render() (#142249)
The current implementation set a reference to a nullptr, leading to all
kinds of problems. Instead, we can check the various uses to ensure we
don't deref invalid memory, and improve the logic for how contexts are
passed to children, since that was also subtly wrong in some cases.
2025-06-04 09:46:14 -07:00

25 KiB