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
75 void parseBlock(bool MustBeDeclaration, bool AddLevel = true,
220 : Level(0), InPPDirective(false), MustBeDeclaration(false) {} in UnwrappedLine()
DTokenAnnotator.h44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
91 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()
397 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel, in parseBlock() argument
406 MustBeDeclaration); in parseBlock()
849 if (FormatTok->Tok.is(tok::colon) && !Line->MustBeDeclaration) { in parseStructuralElement()
DContinuationIndenter.cpp501 State.Line->MustBeDeclaration) || in addTokenOnNewLine()
836 (State.Line->MustBeDeclaration && !Style.BinPackParameters) || in moveStatePastScopeOpener()
837 (!State.Line->MustBeDeclaration && !Style.BinPackArguments) || in moveStatePastScopeOpener()
DTokenAnnotator.cpp413 if (!Tok->Previous && Line.MustBeDeclaration) in consumeToken()
478 if (Line.MustBeDeclaration && Contexts.size() == 1 && in consumeToken()
794 } else if (Current.is(tok::l_paren) && !Line.MustBeDeclaration && in modifyContext()
810 if (Line.MustBeDeclaration) in modifyContext()
843 } else if (Current.is(tok::arrow) && AutoFound && Line.MustBeDeclaration && in determineTokenType()