[llvm] Reland Support for mustache templating language (PR #132467)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 21 13:22:25 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 052a4b54a75364f13ea5001bba00691da4d8c239 f721cf323acb9a4ccce345262061f84df613bdaa --extensions cpp,h -- llvm/include/llvm/Support/Mustache.h llvm/lib/Support/Mustache.cpp llvm/unittests/Support/MustacheTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Support/Mustache.h b/llvm/include/llvm/Support/Mustache.h
index 0ee9a344c0..9cd96739f2 100644
--- a/llvm/include/llvm/Support/Mustache.h
+++ b/llvm/include/llvm/Support/Mustache.h
@@ -97,7 +97,8 @@ public:
Template(Template &&Other) noexcept;
- // Define this in the cpp file to work around ASTNode being an incomplete type.
+ // Define this in the cpp file to work around ASTNode being an incomplete
+ // type.
~Template();
Template &operator=(Template &&Other) noexcept;
diff --git a/llvm/lib/Support/Mustache.cpp b/llvm/lib/Support/Mustache.cpp
index 1ef4f71cd7..2560619538 100644
--- a/llvm/lib/Support/Mustache.cpp
+++ b/llvm/lib/Support/Mustache.cpp
@@ -60,7 +60,7 @@ public:
Token(std::string Str)
: TokenType(Type::Text), RawBody(std::move(Str)), TokenBody(RawBody),
- AccessorValue({}), Indentation(0){};
+ AccessorValue({}), Indentation(0) {};
Token(std::string RawBody, std::string TokenBody, char Identifier)
: RawBody(std::move(RawBody)), TokenBody(std::move(TokenBody)),
``````````
</details>
https://github.com/llvm/llvm-project/pull/132467
More information about the llvm-commits
mailing list