Home
last modified time | relevance | path

Searched refs:InFunctionDecl (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DTokenAnnotator.h166 bool InFunctionDecl);
H A DTokenAnnotator.cpp2084 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
2123 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
2146 InFunctionDecl = false; in calculateFormattingInformation()
2157 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
2205 bool InFunctionDecl) { in splitPenalty() argument
2254 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
2336 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
2343 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()