Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.h43 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
100 assert(MightBeFunctionDecl); in mightBeFunctionDefinition()
132 bool MightBeFunctionDecl; variable
H A DDefinitionBlockSeparator.cpp47 if ((Line->MightBeFunctionDecl && Line->mightBeFunctionDefinition()) || in separateBlocks()
159 if (NextLine->MightBeFunctionDecl && in separateBlocks()
H A DTokenAnnotator.cpp1087 Line.MightBeFunctionDecl = true; in consumeToken()
1814 (!Line.MightBeFunctionDecl || Current.NestingLevel != 0)) { in determineTokenType()
1947 Line.MightBeFunctionDecl && Contexts.size() == 1) { in determineTokenType()
2828 assert(Line.MightBeFunctionDecl); in mustBreakForReturnType()
2859 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation()
3160 return Line.MightBeFunctionDecl ? 50 : 500; in splitPenalty()
3355 if (Left.is(tok::r_paren) && Line.MightBeFunctionDecl) { in spaceRequiredBetween()
3585 if (Line.MightBeFunctionDecl && (Left.is(TT_FunctionDeclarationName))) { in spaceRequiredBetween()
3606 return ((!Line.MightBeFunctionDecl || !Left.Previous) && in spaceRequiredBetween()