[all-commits] [llvm/llvm-project] d34b03: [llvm][mustache] Align standalone partial indentat...

Paul Kirth via All-commits all-commits at lists.llvm.org
Wed Sep 24 13:48:16 PDT 2025


  Branch: refs/heads/users/ilovepi/mustache-indent-impl
  Home:   https://github.com/llvm/llvm-project
  Commit: d34b03a2c2cea4c31b2a6e26d3863d5d93590232
      https://github.com/llvm/llvm-project/commit/d34b03a2c2cea4c31b2a6e26d3863d5d93590232
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-24 (Wed, 24 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp
    M llvm/unittests/Support/MustacheTest.cpp

  Log Message:
  -----------
  [llvm][mustache] Align standalone partial indentation with spec

The current implementaion did not correctly handle indentation for
standalone partial tags. It was only applied to lines following a
newline, instead of the first line of a partial's content. This was
fixed by updating the AddIndentation implementaion to prepend the
indentation to the first line of the partial.



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