Home
last modified time | relevance | path

Searched refs:TheLine (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp245 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne()
262 TheLine->First == TheLine->Last && in tryFitMultipleLinesInOne()
271 TheLine->First == TheLine->Last) { in tryFitMultipleLinesInOne()
315 if (TheLine->Level != 0) { in tryFitMultipleLinesInOne()
397 if (TheLine->Last->is(TT_FunctionLBrace) && TheLine->First != TheLine->Last) in tryFitMultipleLinesInOne()
400 if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last && in tryFitMultipleLinesInOne()
412 (TheLine->First->is(tok::r_brace) && TheLine->First->Next && in tryFitMultipleLinesInOne()
568 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne()
569 (TheLine->First->HasUnescapedNewline || TheLine->First->IsFirst)) { in tryFitMultipleLinesInOne()
1361 TheLine.First->NewlinesBefore > 0 || TheLine.First->IsFirst; in format()
[all …]
H A DTokenAnalyzer.cpp152 void TokenAnalyzer::consumeUnwrappedLine(const UnwrappedLine &TheLine) { in consumeUnwrappedLine() argument
154 UnwrappedLines.back().push_back(TheLine); in consumeUnwrappedLine()
H A DTokenAnalyzer.h100 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override;
/llvm-project-15.0.7/clang/unittests/Format/
H A DTestLexer.h94 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override { in consumeUnwrappedLine() argument
95 UnwrappedLines.push_back(TheLine); in consumeUnwrappedLine()