@@ -440,8 +440,8 @@ static SmallVector<Token> tokenize(StringRef Template) {
440440 size_t Start = 0 ;
441441
442442 while (Start < Template.size ()) {
443- LLVM_DEBUG (dbgs () << " [Tokenize Loop] Start= " << Start << " , Open= '" << Open
444- << " ', Close= '" << Close << " '\n " );
443+ LLVM_DEBUG (dbgs () << " [Tokenize Loop] Start: " << Start << " , Open: '" << Open
444+ << " ', Close: '" << Close << " '\n " );
445445 Tag T = findNextTag (Template, Start, Open, Close);
446446
447447 if (T.TagKind == Tag::Kind::None) {
@@ -571,8 +571,8 @@ class AddIndentationStringStream : public MustacheOutputStream {
571571 Indent.resize (Indentation, ' ' );
572572
573573 for (char C : Data) {
574- LLVM_DEBUG (dbgs () << " [IndentationStream ] NeedsIndent= " << NeedsIndent
575- << " , C= '" << C << " ', Indentation= " << Indentation
574+ LLVM_DEBUG (dbgs () << " [Indentation Stream ] NeedsIndent: " << NeedsIndent
575+ << " , C: '" << C << " ', Indentation: " << Indentation
576576 << " \n " );
577577 if (NeedsIndent && C != ' \n ' ) {
578578 WrappedStream << Indent;
@@ -723,8 +723,8 @@ void ASTNode::renderText(MustacheOutputStream &OS) { OS << Body; }
723723
724724void ASTNode::renderPartial (const json::Value &CurrentCtx,
725725 MustacheOutputStream &OS) {
726- LLVM_DEBUG (dbgs () << " [Render Partial] Accessor= " << AccessorValue[0 ]
727- << " , Indentation= " << Indentation << " \n " );
726+ LLVM_DEBUG (dbgs () << " [Render Partial] Accessor: " << AccessorValue[0 ]
727+ << " , Indentation: " << Indentation << " \n " );
728728 auto Partial = Ctx.Partials .find (AccessorValue[0 ]);
729729 if (Partial != Ctx.Partials .end ())
730730 renderPartial (CurrentCtx, OS, Partial->getValue ().get ());
@@ -743,7 +743,7 @@ void ASTNode::renderVariable(const json::Value &CurrentCtx,
743743
744744void ASTNode::renderUnescapeVariable (const json::Value &CurrentCtx,
745745 MustacheOutputStream &OS) {
746- LLVM_DEBUG (dbgs () << " [Render UnescapeVariable] Accessor= " << AccessorValue[0 ]
746+ LLVM_DEBUG (dbgs () << " [Render UnescapeVariable] Accessor: " << AccessorValue[0 ]
747747 << " \n " );
748748 auto Lambda = Ctx.Lambdas .find (AccessorValue[0 ]);
749749 if (Lambda != Ctx.Lambdas .end ()) {
@@ -864,7 +864,7 @@ void ASTNode::renderChild(const json::Value &Contexts,
864864
865865void ASTNode::renderPartial (const json::Value &Contexts,
866866 MustacheOutputStream &OS, ASTNode *Partial) {
867- LLVM_DEBUG (dbgs () << " [Render Partial Indentation] " << Indentation << " \n " );
867+ LLVM_DEBUG (dbgs () << " [Render Partial Indentation] Indentation: " << Indentation << " \n " );
868868 AddIndentationStringStream IS (OS, Indentation);
869869 Partial->render (Contexts, IS);
870870}
0 commit comments