Home
last modified time | relevance | path

Searched refs:FirstNonComment (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp361 const auto *FirstNonComment = TheLine->getFirstNonComment(); in tryFitMultipleLinesInOne() local
362 if (!FirstNonComment) in tryFitMultipleLinesInOne()
424 if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last && in tryFitMultipleLinesInOne()
425 FirstNonComment->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for, in tryFitMultipleLinesInOne()
H A DTokenAnnotator.cpp5763 auto *FirstNonComment = Line.getFirstNonComment(); in mustBreakBefore() local
5765 FirstNonComment && (FirstNonComment->is(Keywords.kw_internal) || in mustBreakBefore()
5766 FirstNonComment->isAccessSpecifierKeyword()); in mustBreakBefore()
5774 if (AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()
5775 FirstNonComment->Next->is(tok::kw_enum)) { in mustBreakBefore()
5782 ((AccessSpecifier && FirstNonComment->Next && in mustBreakBefore()
5783 FirstNonComment->Next->is(Keywords.kw_interface)) || in mustBreakBefore()