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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false),
132 bool MustBeDeclaration; member in class:clang::format::AnnotatedLine
H A DUnwrappedLineParser.h49 bool MustBeDeclaration; member in struct:clang::format::UnwrappedLine
88 void parseBlock(bool MustBeDeclaration, bool AddLevel = true,
297 : Level(0), InPPDirective(false), MustBeDeclaration(false),
H A DUnwrappedLineParser.cpp42 bool MustBeDeclaration)
44 Line.MustBeDeclaration = MustBeDeclaration;
45 Stack.push_back(MustBeDeclaration);
50 Line.MustBeDeclaration = Stack.back();
52 Line.MustBeDeclaration = true;
302 bool MustBeDeclaration = local
305 MustBeDeclaration);
388 parseBlock(/*MustBeDeclaration=*/false);
415 Line->MustBeDeclaration) {
41 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, bool MustBeDeclaration) argument
582 parseBlock(bool MustBeDeclaration, bool AddLevel, bool MunchSemi) argument
[all...]
H A DTokenAnnotator.cpp267 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) {
323 (CurrentToken->Next->is(tok::l_square) && Line.MustBeDeclaration)))
811 if (!Tok->Previous && Line.MustBeDeclaration)
827 Line.MustBeDeclaration)) { // method/property declaration
954 if (Line.MustBeDeclaration && Contexts.size() == 1 &&
1053 if (Line.MustBeDeclaration && !Contexts.back().IsExpression &&
1059 // Line.MustBeDeclaration will be true for `Type? name;`.
1060 if ((!Contexts.back().IsExpression && Line.MustBeDeclaration) ||
1465 if (Line.MustBeDeclaration && !Contexts.front().InCtorInitializer)
1602 } else if (Current.is(tok::arrow) && AutoFound && Line.MustBeDeclaration
[all...]
H A DContinuationIndenter.cpp925 State.Line->MustBeDeclaration) ||
927 !State.Line->MustBeDeclaration) ||
1486 (State.Line->MustBeDeclaration && !BinPackDeclaration) ||
1487 (!State.Line->MustBeDeclaration && !Style.BinPackArguments) ||

Completed in 199 milliseconds