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 283dff4593dbbd68594606cda9fbd3631e6648dc 0a20de8e744ed6b60c1ad00383276e621f0c7629 --extensions h,cpp -- 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 a1ce9d945a..61c54fa97a 100644 --- a/llvm/include/llvm/Support/Mustache.h +++ b/llvm/include/llvm/Support/Mustache.h @@ -67,15 +67,15 @@ public: InvertSection, }; - ASTNode() : T(Type::Root), LocalContext(nullptr){}; + ASTNode() : T(Type::Root), LocalContext(nullptr) {}; ASTNode(std::string Body, std::shared_ptr<ASTNode> Parent) - : T(Type::Text), Body(Body), Parent(Parent), LocalContext(nullptr){}; + : T(Type::Text), Body(Body), Parent(Parent), LocalContext(nullptr) {}; // Constructor for Section/InvertSection/Variable/UnescapeVariable ASTNode(Type T, Accessor Accessor, std::shared_ptr<ASTNode> Parent) : T(T), Accessor(Accessor), Parent(Parent), LocalContext(nullptr), - Children({}){}; + Children({}) {}; void addChild(std::shared_ptr<ASTNode> Child) { Children.emplace_back(Child); @@ -100,7 +100,7 @@ public: std::string render(llvm::json::Value Data); private: - Template(std::shared_ptr<ASTNode> Tree) : Tree(Tree){}; + Template(std::shared_ptr<ASTNode> Tree) : Tree(Tree) {}; std::shared_ptr<ASTNode> Tree; }; `````````` </details> https://github.com/llvm/llvm-project/pull/105893 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits