Home
last modified time | relevance | path

Searched refs:MustBeDeclaration (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h57 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
178 bool MustBeDeclaration; variable
H A DUnwrappedLineParser.h55 bool MustBeDeclaration = false; member
128 FormatToken *parseBlock(bool MustBeDeclaration = false,
H A DUnwrappedLineParser.cpp74 bool MustBeDeclaration) in ScopedDeclarationState() argument
76 Line.MustBeDeclaration = MustBeDeclaration; in ScopedDeclarationState()
77 Stack.push_back(MustBeDeclaration); in ScopedDeclarationState()
82 Line.MustBeDeclaration = Stack.back(); in ~ScopedDeclarationState()
84 Line.MustBeDeclaration = true; in ~ScopedDeclarationState()
274 bool MustBeDeclaration = !Line->InPPDirective && !Style.isJavaScript(); in parseFile() local
276 MustBeDeclaration); in parseFile()
451 (Style.isJavaScript() && Line->MustBeDeclaration)) { in parseLevel()
746 FormatToken *UnwrappedLineParser::parseBlock(bool MustBeDeclaration, in parseBlock() argument
[all...]
H A DTokenAnnotator.cpp405 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens()
505 Line.MustBeDeclaration))) { in parseParens()
1316 if (!Tok->Previous && Line.MustBeDeclaration) in consumeToken()
1336 Line.MustBeDeclaration)) { // method/property declaration in consumeToken()
1556 if (Line.MustBeDeclaration && Contexts.size() == 1 && in consumeToken()
1674 if (Line.MustBeDeclaration && !Contexts.back().IsExpression && in consumeToken()
1704 if (!Contexts.back().IsExpression && Line.MustBeDeclaration && in consumeToken()
2269 if (Line.MustBeDeclaration && in modifyContext()
2422 if (Style.isJavaScript() && Line.MustBeDeclaration && in determineTokenType()
5061 if (Line.MustBeDeclaration && Left.Tok.getIdentifierInfo()) in spaceRequiredBefore()
H A DContinuationIndenter.cpp1186 State.Line->MustBeDeclaration) || in addTokenOnNewLine()
1188 !State.Line->MustBeDeclaration) || in addTokenOnNewLine()
1901 (State.Line->MustBeDeclaration && !BinPackDeclaration) || in moveStatePastScopeOpener()
1902 (!State.Line->MustBeDeclaration && !Style.BinPackArguments) || in moveStatePastScopeOpener()