Searched refs:Newlines (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | WhitespaceManager.h | 52 void replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned Spaces, 66 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix 82 unsigned Newlines, int Spaces); 215 void appendNewlineText(std::string &Text, unsigned Newlines); 216 void appendEscapedNewlineText(std::string &Text, unsigned Newlines,
|
H A D | WhitespaceManager.cpp | 46 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, argument 52 Tok.Decision = (Newlines > 0) ? FD_Break : FD_Continue; 54 Spaces, StartOfTokenColumn, Newlines, "", "", 78 unsigned Newlines, int Spaces) { 85 std::max(0, Spaces), Newlines, PreviousPostfix, CurrentPrefix, 722 unsigned Newlines = 0; local 726 Newlines += Changes[i].NewlinesBefore; 775 } else if (BreakBeforeNext || Newlines > 1 || 794 Newlines = 0; 898 unsigned Newlines) { 75 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, int Spaces) argument 897 appendNewlineText(std::string &Text, unsigned Newlines) argument 903 appendEscapedNewlineText( std::string &Text, unsigned Newlines, unsigned PreviousEndOfTokenColumn, unsigned EscapedNewlineColumn) argument [all...] |
H A D | UnwrappedLineFormatter.cpp | 810 *Child->First, /*Newlines=*/0, /*Spaces=*/1, 1188 unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u); 1189 unsigned TokenIndent = Newlines ? NewlineIndent : 0; 1190 Whitespaces->replaceWhitespace(RootToken, Newlines, TokenIndent, 1194 unsigned Newlines = 1202 Newlines = std::min(Newlines, 1u); 1205 Newlines = std::min(Newlines, 1u); 1206 if (Newlines [all...] |
H A D | ContinuationIndenter.cpp | 599 Whitespaces.replaceWhitespace(Current, /*Newlines=*/0, Spaces, 866 unsigned Newlines = local 870 Whitespaces.replaceWhitespace(Current, Newlines, State.Column, State.Column,
|
Completed in 121 milliseconds