[all-commits] [llvm/llvm-project] f2fdb9: [llvm][mustache] Fix failing StandaloneIndentation...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Mon Sep 29 20:42:14 PDT 2025
Branch: refs/heads/users/ilovepi/mustache-last-indentation
Home: https://github.com/llvm/llvm-project
Commit: f2fdb9c1ce87efba06bd182e33cf5766701bd933
https://github.com/llvm/llvm-project/commit/f2fdb9c1ce87efba06bd182e33cf5766701bd933
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M llvm/lib/Support/Mustache.cpp
M llvm/unittests/Support/MustacheTest.cpp
M llvm/utils/llvm-test-mustache-spec/llvm-test-mustache-spec.cpp
Log Message:
-----------
[llvm][mustache] Fix failing StandaloneIndentation test
When rendering partials, we need to use an indentation stream,
but when part of the partial is a unescaped sequence, we cannot
indent those. To address this, we build a common MustacheStream
interface for all the output streams to use. This allows us to
further customize the AddIndentationStream implementation
and opt it out of indenting the UnescapeSequence.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list