Home
last modified time | relevance | path

Searched refs:HasUnescapedNewline (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp259 (!NextLine.InPPDirective || NextLine.First->HasUnescapedNewline)) { in tryFitMultipleLinesInOne()
600 (TheLine->First->HasUnescapedNewline || TheLine->First->IsFirst)) { in tryFitMultipleLinesInOne()
612 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) in tryMergeSimplePPDirective()
631 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) { in tryMergeSimpleControlStatement()
906 !I[1]->First->HasUnescapedNewline && I[1]->First->isNot(tok::eof)) { in limitConsideringMacros()
1482 (!Style.KeepEmptyLines.AtStartOfFile || !RootToken.HasUnescapedNewline)) { in computeNewlines()
1528 (!PreviousLine->InPPDirective || !RootToken.HasUnescapedNewline)) { in computeNewlines()
1589 !RootToken.HasUnescapedNewline); in formatFirstToken()
1605 !NextLine->First->HasUnescapedNewline)); in getColumnLimit()
H A DFormatToken.cpp207 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()
236 if (ItemEnd->Next && !ItemEnd->Next->HasUnescapedNewline && in precomputeFormattingInfos()
H A DAffectedRangeManager.cpp38 while (PPEnd != E && !(*PPEnd)->First->HasUnescapedNewline) { in computeAffectedLines()
H A DFormatTokenSource.h252 return Token && Token->HasUnescapedNewline && in eof()
H A DFormatTokenLexer.cpp1000 String->HasUnescapedNewline = Macro->HasUnescapedNewline; in tryMerge_TMacro()
1180 FormatTok->HasUnescapedNewline = true; in getNextToken()
H A DFormatToken.h300 : HasUnescapedNewline(false), IsMultiline(false), IsFirst(false), in FormatToken()
331 unsigned HasUnescapedNewline : 1; member
H A DTokenAnnotator.cpp566 !CurrentToken->Next->HasUnescapedNewline && in parseParens()
615 if (CurrentToken && CurrentToken->HasUnescapedNewline) in parseParens()
3994 if (!Current->HasUnescapedNewline) { in calculateFormattingInformation()
4001 Parameter->HasUnescapedNewline) { in calculateFormattingInformation()
5665 (Right.NewlinesBefore > 0 && Right.HasUnescapedNewline); in mustBreakBefore()
5760 return Right.HasUnescapedNewline; in mustBreakBefore()
H A DUnwrappedLineParser.cpp515 } while (!NextTok->HasUnescapedNewline && NextTok->isNot(tok::eof)); in calculateBraceTypes()
4613 return (Line->InPPDirective || FormatTok.HasUnescapedNewline) && in isOnNewLine()
4847 return Tok.HasUnescapedNewline || Tok.IsFirst; in readToken()