Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineParser.h49 bool MustBeDeclaration; member
74 void parseBlock(bool MustBeDeclaration, bool AddLevel = true,
217 : Level(0), InPPDirective(false), MustBeDeclaration(false) {} in UnwrappedLine()
DTokenAnnotator.h44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
114 bool MustBeDeclaration; variable
DUnwrappedLineParser.cpp40 bool MustBeDeclaration) in ScopedDeclarationState() argument
42 Line.MustBeDeclaration = MustBeDeclaration; in ScopedDeclarationState()
43 Stack.push_back(MustBeDeclaration); in ScopedDeclarationState()
48 Line.MustBeDeclaration = Stack.back(); in ~ScopedDeclarationState()
50 Line.MustBeDeclaration = true; in ~ScopedDeclarationState()
257 bool MustBeDeclaration = in parseFile() local
260 MustBeDeclaration); in parseFile()
412 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel, in parseBlock() argument
428 MustBeDeclaration); in parseBlock()
1064 if (FormatTok->Tok.is(tok::colon) && !Line->MustBeDeclaration) { in parseStructuralElement()
DTokenAnnotator.cpp178 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens()
225 (CurrentToken->Next->is(tok::l_square) && Line.MustBeDeclaration))) in parseParens()
486 if (!Tok->Previous && Line.MustBeDeclaration) in consumeToken()
500 Line.MustBeDeclaration)) { // method/property declaration in consumeToken()
577 if (Line.MustBeDeclaration && Contexts.size() == 1 && in consumeToken()
642 if (Line.MustBeDeclaration && !Contexts.back().IsExpression && in consumeToken()
965 if (Line.MustBeDeclaration && !Contexts.front().InCtorInitializer) in modifyContext()
994 } else if (Current.is(tok::arrow) && AutoFound && Line.MustBeDeclaration && in determineTokenType()
1012 Line.MustBeDeclaration && !Contexts.back().IsExpression) { in determineTokenType()
DContinuationIndenter.cpp588 State.Line->MustBeDeclaration) || in addTokenOnNewLine()
970 (State.Line->MustBeDeclaration && !Style.BinPackParameters) || in moveStatePastScopeOpener()
971 (!State.Line->MustBeDeclaration && !Style.BinPackArguments) || in moveStatePastScopeOpener()