Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h59 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
136 assert(MightBeFunctionDecl); in mightBeFunctionDefinition()
186 bool MightBeFunctionDecl; variable
H A DDefinitionBlockSeparator.cpp46 if ((Line->MightBeFunctionDecl && Line->mightBeFunctionDefinition()) || in separateBlocks()
164 if (NextLine->MightBeFunctionDecl && in separateBlocks()
H A DTokenAnnotator.cpp1555 Line.MightBeFunctionDecl = true; in consumeToken()
2395 (!Line.MightBeFunctionDecl || Current.NestingLevel != 0)) { in determineTokenType()
2411 Line.MightBeFunctionDecl && Current.NestingLevel == 0 && in determineTokenType()
2554 Line.MightBeFunctionDecl && Contexts.size() == 1) { in determineTokenType()
3925 assert(Line.MightBeFunctionDecl); in mustBreakForReturnType()
4071 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation()
4394 return Line.MightBeFunctionDecl ? 50 : 500; in splitPenalty()
4616 if (Left.is(tok::r_paren) && Line.MightBeFunctionDecl) { in spaceRequiredBetween()
4845 !(Line.MightBeFunctionDecl && Left.is(TT_FunctionDeclarationName))) { in spaceRequiredBetween()
4867 if (Line.MightBeFunctionDecl && Right.is(TT_FunctionDeclarationLParen)) { in spaceRequiredBetween()
[all …]
H A DContinuationIndenter.cpp2139 !State.Line->MightBeFunctionDecl) { in moveStateToNewBlock()