Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h228 bool InFunctionDecl) const;
H A DTokenAnnotator.cpp3458 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
3599 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
3624 InFunctionDecl = false; in calculateFormattingInformation()
3635 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
3723 bool InFunctionDecl) const { in splitPenalty()
3780 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
3863 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
3872 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()