Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp48 (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline)) in tryFitMultipleLinesInOne()
116 (TheLine->First->HasUnescapedNewline || TheLine->First->IsFirst)) { in tryFitMultipleLinesInOne()
129 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) in tryMergeSimplePPDirective()
146 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) in tryMergeSimpleControlStatement()
279 !I[1]->First->HasUnescapedNewline && !I[1]->First->is(tok::eof)) { in limitConsideringMacros()
417 if (NextLine->InPPDirective && !NextLine->First->HasUnescapedNewline) in format()
502 if (RootToken.IsFirst && !RootToken.HasUnescapedNewline) in formatFirstToken()
519 (!PreviousLine->InPPDirective || !RootToken.HasUnescapedNewline)) in formatFirstToken()
524 !RootToken.HasUnescapedNewline); in formatFirstToken()
DFormatToken.cpp158 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) in precomputeFormattingInfos()
186 if (ItemEnd->Next && !ItemEnd->Next->HasUnescapedNewline && in precomputeFormattingInfos()
DFormatToken.h109 : NewlinesBefore(0), HasUnescapedNewline(false), LastNewlineOffset(0), in FormatToken()
135 bool HasUnescapedNewline; member
DFormat.cpp881 String->HasUnescapedNewline = Macro->HasUnescapedNewline; in tryMerge_TMacro()
1002 FormatTok->HasUnescapedNewline = true; in getNextToken()
1276 while (PPEnd != E && !(*PPEnd)->First->HasUnescapedNewline) { in computeAffectedLines()
DTokenAnnotator.cpp219 !CurrentToken->Next->HasUnescapedNewline && in parseParens()
234 if (CurrentToken && CurrentToken->HasUnescapedNewline) in parseParens()
1428 if (!Current->HasUnescapedNewline) { in calculateFormattingInformation()
1435 Parameter->HasUnescapedNewline) in calculateFormattingInformation()
1917 (Right.NewlinesBefore > 0 && Right.HasUnescapedNewline); in mustBreakBefore()
DUnwrappedLineParser.cpp97 bool eof() { return Token && Token->HasUnescapedNewline; } in eof()
1728 return (Line->InPPDirective || FormatTok.HasUnescapedNewline) && in isOnNewLine()
1763 (FormatTok->HasUnescapedNewline || FormatTok->IsFirst)) { in readToken()