Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DTokenAnnotator.h173 bool InFunctionDecl);
H A DTokenAnnotator.cpp2475 bool InFunctionDecl = Line.MightBeFunctionDecl; in calculateFormattingInformation() local
2515 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
2538 InFunctionDecl = false; in calculateFormattingInformation()
2549 Current->SplitPenalty = splitPenalty(Line, *Current, InFunctionDecl); in calculateFormattingInformation()
2597 bool InFunctionDecl) { in splitPenalty() argument
2649 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
2728 if (Left.is(tok::l_paren) && InFunctionDecl && in splitPenalty()
2734 if (Left.is(tok::equal) && InFunctionDecl) in splitPenalty()