Searched defs:NewlinesBefore (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/Format/
H A DWhitespaceManager.h103 /// \p PreviousLinePostfix, \p NewlinesBefore line breaks, \p Spaces spaces
110 unsigned NewlinesBefore, StringRef PreviousLinePostfix,
120 unsigned NewlinesBefore; member in struct:clang::format::WhitespaceManager::Change
H A DWhitespaceManager.cpp31 unsigned NewlinesBefore, StringRef PreviousLinePostfix,
36 StartOfTokenColumn(StartOfTokenColumn), NewlinesBefore(NewlinesBefore),
71 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore, "", "",
133 (Changes[i].NewlinesBefore > 0 || Changes[i].Kind == tok::eof ||
171 if (Changes[i].NewlinesBefore > 0) {
244 if (Changes[i].NewlinesBefore != 0) {
249 if (Changes[i].NewlinesBefore > 1 || !FoundMatchOnLine)
289 for (unsigned j = i; j != e && Changes[j].NewlinesBefore == 0; ++j)
315 if (C.NewlinesBefore >
28 Change( bool CreateReplacement, SourceRange OriginalWhitespaceRange, unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, tok::TokenKind Kind, bool ContinuesPPDirective, bool IsStartOfDeclName, bool IsInsideToken) argument
[all...]
H A DFormatToken.h123 unsigned NewlinesBefore = 0; member in struct:clang::format::FormatToken
376 (is(TT_LineComment) || !Next || Next->NewlinesBefore > 0);

Completed in 184 milliseconds