Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp174 (!I[1]->InPPDirective || I[1]->First->HasUnescapedNewline)) in tryFitMultipleLinesInOne()
242 (TheLine->First->HasUnescapedNewline || TheLine->First->IsFirst)) { in tryFitMultipleLinesInOne()
254 if (I + 2 != E && I[2]->InPPDirective && !I[2]->First->HasUnescapedNewline) in tryMergeSimplePPDirective()
270 (I[1]->InPPDirective && I[1]->First->HasUnescapedNewline)) in tryMergeSimpleControlStatement()
410 !I[1]->First->HasUnescapedNewline && !I[1]->First->is(tok::eof)) { in limitConsideringMacros()
926 if (RootToken.IsFirst && !RootToken.HasUnescapedNewline) in formatFirstToken()
943 (!PreviousLine->InPPDirective || !RootToken.HasUnescapedNewline)) in formatFirstToken()
948 !RootToken.HasUnescapedNewline); in formatFirstToken()
964 !NextLine->First->HasUnescapedNewline)); in getColumnLimit()
DFormatToken.cpp181 while (ItemBegin->HasUnescapedNewline && ItemBegin->isTrailingComment()) { in precomputeFormattingInfos()
210 if (ItemEnd->Next && !ItemEnd->Next->HasUnescapedNewline && in precomputeFormattingInfos()
DFormatTokenLexer.cpp296 String->HasUnescapedNewline = Macro->HasUnescapedNewline; in tryMerge_TMacro()
424 FormatTok->HasUnescapedNewline = !EscapesNewline(i - 1); in getNextToken()
DAffectedRangeManager.cpp37 while (PPEnd != E && !(*PPEnd)->First->HasUnescapedNewline) { in computeAffectedLines()
DTokenAnnotator.cpp273 !CurrentToken->Next->HasUnescapedNewline && in parseParens()
292 if (CurrentToken && CurrentToken->HasUnescapedNewline) in parseParens()
1718 if (!Current->HasUnescapedNewline) { in calculateFormattingInformation()
1725 Parameter->HasUnescapedNewline) in calculateFormattingInformation()
2310 (Right.NewlinesBefore > 0 && Right.HasUnescapedNewline); in mustBreakBefore()
2341 return Right.HasUnescapedNewline; in mustBreakBefore()
DFormatToken.h127 bool HasUnescapedNewline = false; member
DUnwrappedLineParser.cpp95 bool eof() { return Token && Token->HasUnescapedNewline; } in eof()
2017 return (Line->InPPDirective || FormatTok.HasUnescapedNewline) && in isOnNewLine()
2061 (FormatTok->HasUnescapedNewline || FormatTok->IsFirst)) { in readToken()