reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1542 while (PreviousNotConst && PreviousNotConst->is(tok::kw_const)) 1542 while (PreviousNotConst && PreviousNotConst->is(tok::kw_const)) 1543 PreviousNotConst = PreviousNotConst->getPreviousNonComment(); 1543 PreviousNotConst = PreviousNotConst->getPreviousNonComment(); 1545 if (!PreviousNotConst) 1548 bool IsPPKeyword = PreviousNotConst->is(tok::identifier) && 1549 PreviousNotConst->Previous && 1550 PreviousNotConst->Previous->is(tok::hash); 1552 if (PreviousNotConst->is(TT_TemplateCloser)) 1553 return PreviousNotConst && PreviousNotConst->MatchingParen && 1553 return PreviousNotConst && PreviousNotConst->MatchingParen && 1554 PreviousNotConst->MatchingParen->Previous && 1555 PreviousNotConst->MatchingParen->Previous->isNot(tok::period) && 1556 PreviousNotConst->MatchingParen->Previous->isNot(tok::kw_template); 1558 if (PreviousNotConst->is(tok::r_paren) && PreviousNotConst->MatchingParen && 1558 if (PreviousNotConst->is(tok::r_paren) && PreviousNotConst->MatchingParen && 1559 PreviousNotConst->MatchingParen->Previous && 1560 PreviousNotConst->MatchingParen->Previous->is(tok::kw_decltype)) 1564 PreviousNotConst->isOneOf(tok::identifier, tok::kw_auto)) || 1565 PreviousNotConst->is(TT_PointerOrReference) || 1566 PreviousNotConst->isSimpleTypeSpecifier();