Lines Matching refs:ContextKind
109 Left->ParentBracket = Contexts.back().ContextKind; in parseAngle()
227 OpeningParen.ParentBracket = Contexts.back().ContextKind; in parseParens()
574 Left->ParentBracket = Contexts.back().ContextKind; in parseSquare()
622 Contexts.back().ContextKind == tok::l_brace && in parseSquare()
625 } else if (Style.isCpp() && Contexts.back().ContextKind == tok::l_brace && in parseSquare()
797 if (Last->ContextKind == tok::l_brace) in couldBeInStructArrayInitializer()
799 return Depth == 2 && Last->ContextKind != tok::l_brace; in couldBeInStructArrayInitializer()
809 OpeningBrace.ParentBracket = Contexts.back().ContextKind; in parseBrace()
931 Contexts.back().ContextKind == tok::l_paren || // function params in consumeToken()
932 Contexts.back().ContextKind == tok::l_square || // array type in consumeToken()
934 Contexts.back().ContextKind == tok::l_brace) || // object type in consumeToken()
946 if (Contexts.back().ContextKind == tok::l_paren) { in consumeToken()
1022 } else if (Contexts.back().ContextKind == tok::l_paren) { in consumeToken()
1541 Context(tok::TokenKind ContextKind, unsigned BindingStrength, in Context()
1543 : ContextKind(ContextKind), BindingStrength(BindingStrength), in Context()
1546 tok::TokenKind ContextKind; member
1582 ScopedContextCreator(AnnotatingParser &P, tok::TokenKind ContextKind, in ScopedContextCreator()
1585 P.Contexts.push_back(Context(ContextKind, in ScopedContextCreator()