Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.h172 bool InFunctionDecl) const;
H A DTokenAnnotator.cpp2859 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
2910 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
2935 InFunctionDecl = false; in calculateFormattingInformation()
2946 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
3034 bool InFunctionDecl) const { in splitPenalty()
3089 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
3172 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
3180 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()