Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DTokenAnnotator.cpp1069 FormatToken *LeftOfParens = Tok.MatchingParen->getPreviousNonComment(); in rParenEndsCast() local
1070 if (LeftOfParens) { in rParenEndsCast()
1073 if (LeftOfParens->is(tok::r_paren)) { in rParenEndsCast()
1074 if (!LeftOfParens->MatchingParen || in rParenEndsCast()
1075 !LeftOfParens->MatchingParen->Previous) in rParenEndsCast()
1077 LeftOfParens = LeftOfParens->MatchingParen->Previous; in rParenEndsCast()
1082 if (LeftOfParens->Tok.getIdentifierInfo() && in rParenEndsCast()
1083 !LeftOfParens->isOneOf(Keywords.kw_in, tok::kw_return, tok::kw_case, in rParenEndsCast()
1089 if (LeftOfParens->isOneOf(tok::at, tok::r_square, TT_OverloadedOperator, in rParenEndsCast()
1122 if (!LeftOfParens) in rParenEndsCast()