Skip to content

Commit 73562d4

Browse files
committed
clang-format
1 parent ba74d2c commit 73562d4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

llvm/lib/Support/Mustache.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ class ASTNode {
147147
llvm::DenseMap<char, std::string> &Escapes)
148148
: Allocator(Alloc), Partials(Partials), Lambdas(Lambdas),
149149
SectionLambdas(SectionLambdas), Escapes(Escapes), Ty(Ty),
150-
Parent(Parent), AccessorValue(std::move(Accessor)), ParentContext(nullptr) {}
150+
Parent(Parent), AccessorValue(std::move(Accessor)),
151+
ParentContext(nullptr) {}
151152

152153
void addChild(ASTNode *Child) { Children.emplace_back(Child); };
153154

@@ -640,7 +641,8 @@ void ASTNode::render(const json::Value &Data, raw_ostream &OS) {
640641
return;
641642
}
642643
case InvertSection: {
643-
bool IsLambda = SectionLambdas.find(AccessorValue[0]) != SectionLambdas.end();
644+
bool IsLambda =
645+
SectionLambdas.find(AccessorValue[0]) != SectionLambdas.end();
644646
if (!isFalsey(Context) || IsLambda)
645647
return;
646648
renderChild(Context, OS);
@@ -769,10 +771,9 @@ Template::Template(StringRef TemplateStr) {
769771
Template::Template(Template &&Other) noexcept
770772
: Partials(std::move(Other.Partials)), Lambdas(std::move(Other.Lambdas)),
771773
SectionLambdas(std::move(Other.SectionLambdas)),
772-
Escapes(std::move(Other.Escapes)),
774+
Escapes(std::move(Other.Escapes)),
773775
AstAllocator(std::move(Other.AstAllocator)),
774-
RenderAllocator(std::move(Other.RenderAllocator)),
775-
Tree(Other.Tree) {
776+
RenderAllocator(std::move(Other.RenderAllocator)), Tree(Other.Tree) {
776777
Other.Tree = nullptr;
777778
}
778779

0 commit comments

Comments
 (0)