Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DTokenAnnotator.h187 bool InFunctionDecl) const;
H A DTokenAnnotator.cpp2956 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
3020 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
3045 InFunctionDecl = false; in calculateFormattingInformation()
3056 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
3144 bool InFunctionDecl) const { in splitPenalty()
3201 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
3284 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
3293 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()