Skip to content

jinja: use const for statement::execute and ::visit - #29271

Merged
ngxson merged 1 commit into
masterfrom
xsn/jinja_const
Sep 22, 2026
Merged

ngxson merged 1 commit into
masterfrom
xsn/jinja_const

Conversation

@ngxson

@ngxson ngxson commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Overview

Added const for visit, execute_impl and execute to guarantee thread-safety

Requirements

@github-actions github-actions Bot added the jinja parser Issues related to the jinja parser label Sep 22, 2026
@ngxson
ngxson merged commit 348f853 into master Sep 22, 2026
10 of 12 checks passed
Comment thread common/jinja/runtime.cpp
statement_ptr test_expr_nullptr;

statement_ptr & iter_expr = [&]() -> statement_ptr & {
const statement_ptr & iter_expr = [&]() -> const statement_ptr & {

@ggerganov ggerganov Sep 22, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LadislavSopko pushed a commit to 0ics-srls/llama.cpp that referenced this pull request Oct 5, 2026
frostyautumnleaf pushed a commit to frostyautumnleaf/llama.cpp that referenced this pull request Oct 5, 2026
edwardyoon pushed a commit to edwardyoon/focus-llama that referenced this pull request Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jinja parser Issues related to the jinja parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants