[all-commits] [llvm/llvm-project] 6bf0c4: reapply [llvm] add support for mustache templating...

PeterChou1 via All-commits all-commits at lists.llvm.org
Wed Mar 12 04:59:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf0c4648eeac4f4fda57b6be76e2741c2506478
      https://github.com/llvm/llvm-project/commit/6bf0c4648eeac4f4fda57b6be76e2741c2506478
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    A llvm/include/llvm/Support/Mustache.h
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/Mustache.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/MustacheTest.cpp

  Log Message:
  -----------
  reapply [llvm] add support for mustache templating language (#130876)

Reapply https://github.com/llvm/llvm-project/pull/130732

Fixes errors which broke build bot that uses GCC as a compiler
https://lab.llvm.org/buildbot/#/builders/66/builds/11049

GCC threw an warning due to an issue std::move with a temporary object
which prevents copy elision. Fixes the issue by removing the std::move

Adds Support for the Mustache Templating Language. See specs here:
https://mustache.github.io/mustache.5.html
This patch implements support+tests for majority of the features of the
language including:

- Variables
- Comments
- Lambdas
- Sections

This meant as a library to support places where we have to generate
HTML, such as in clang-doc.



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