Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h240 bool InFunctionDecl) const;
H A DTokenAnnotator.cpp4071 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
4119 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
4166 InFunctionDecl = false; in calculateFormattingInformation()
4178 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
4264 bool InFunctionDecl) const { in splitPenalty()
4321 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
4406 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
4415 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()