Searched refs:RootToken (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/Format/
H A DUnwrappedLineFormatter.h79 int getIndentOffset(const FormatToken &RootToken) { argument
83 if (RootToken.isAccessSpecifier(false) ||
84 RootToken.isObjCAccessSpecifier() || RootToken.is(Keywords.kw_signals))
91 void formatFirstToken(FormatToken &RootToken,
H A DUnwrappedLineFormatter.cpp488 void UnwrappedLineFormatter::formatFirstToken(FormatToken &RootToken, argument
494 std::min(RootToken.NewlinesBefore, Style.MaxEmptyLinesToKeep + 1);
496 if (RootToken.is(tok::r_brace) &&
497 (!RootToken.Next ||
498 (RootToken.Next->is(tok::semi) && !RootToken.Next->Next)))
500 if (Newlines == 0 && !RootToken.IsFirst)
502 if (RootToken.IsFirst && !RootToken.HasUnescapedNewline)
514 RootToken
[all...]

Completed in 134 milliseconds