Lines Matching defs:Tok

47 static bool canBeObjCSelectorComponent(const FormatToken &Tok) {  in canBeObjCSelectorComponent()
69 static bool isKeywordWithCondition(const FormatToken &Tok) { in isKeywordWithCondition()
75 static bool isCppAttribute(bool IsCpp, const FormatToken &Tok) { in isCppAttribute()
436 for (FormatToken *Tok = &OpeningParen; Tok != CurrentToken; in parseParens() local
515 FormatToken *Tok = CurrentToken; in parseParens() local
525 bool isCSharpAttributeSpecifier(const FormatToken &Tok) { in isCSharpAttributeSpecifier()
576 bool isCpp11AttributeSpecifier(const FormatToken &Tok) { in isCpp11AttributeSpecifier()
802 FormatToken *Tok = CurrentToken; in parseSquare() local
937 FormatToken *Tok = CurrentToken; in consumeToken() local
1442 FormatToken *Tok = CurrentToken; in parsePreprocessorDirective() local
1551 bool isClosureImportStatement(const FormatToken &Tok) { in isClosureImportStatement()
1685 const FormatToken *Tok = Line.First->getNextNonComment(); in modifyContext() local
2033 bool isStartOfName(const FormatToken &Tok) { in isStartOfName()
2101 bool lParenStartsCppCast(const FormatToken &Tok) { in lParenStartsCppCast()
2122 bool rParenEndsCast(const FormatToken &Tok) { in rParenEndsCast()
2151 auto MayBeArrayDelete = [](FormatToken *Tok) -> FormatToken * { in rParenEndsCast()
2307 bool determineUnaryOperatorByUsage(const FormatToken &Tok) { in determineUnaryOperatorByUsage()
2344 TokenType determineStarAmpUsage(const FormatToken &Tok, bool IsExpression, in determineStarAmpUsage()
2445 TokenType determinePlusMinusCaretUsage(const FormatToken &Tok) { in determinePlusMinusCaretUsage()
2461 TokenType determineIncrementUsage(const FormatToken &Tok) { in determineIncrementUsage()
2754 for (const auto *Tok = Line.First; Tok != nullptr; Tok = Tok->Next) in maxNestingDepth() local
2892 for (const FormatToken *Tok = Next->Next; Tok && Tok != Next->MatchingParen; in isFunctionDeclarationName() local
2936 static bool mustBreakAfterAttributes(const FormatToken &Tok, in mustBreakAfterAttributes()
2963 for (FormatToken *Tok = Current, *AfterLastAttribute = nullptr; Tok; in calculateFormattingInformation() local
3143 const FormatToken &Tok, in splitPenalty()
4323 static bool isAllmanBrace(const FormatToken &Tok) { in isAllmanBrace()
4329 static bool IsFunctionArgument(const FormatToken &Tok) { in IsFunctionArgument()
4335 isItAnEmptyLambdaAllowed(const FormatToken &Tok, in isItAnEmptyLambdaAllowed()
4340 static bool isAllmanLambdaBrace(const FormatToken &Tok) { in isAllmanLambdaBrace()
4478 for (const auto *Tok = &Right; Tok; Tok = Tok->Next) { in mustBreakBefore() local
5138 const FormatToken *Tok = Line.First; in printDebugInfo() local