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,
215 : Level(0), InPPDirective(false), MustBeDeclaration(false) {} in UnwrappedLine()
DTokenAnnotator.h44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
106 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()
401 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel, in parseBlock() argument
417 MustBeDeclaration); in parseBlock()
923 if (FormatTok->Tok.is(tok::colon) && !Line->MustBeDeclaration) { in parseStructuralElement()
DTokenAnnotator.cpp437 if (!Tok->Previous && Line.MustBeDeclaration) in consumeToken()
451 Line.MustBeDeclaration)) { // method/property declaration in consumeToken()
517 if (Line.MustBeDeclaration && Contexts.size() == 1 && in consumeToken()
585 if (Line.MustBeDeclaration && in consumeToken()
864 } else if (Current.is(tok::l_paren) && !Line.MustBeDeclaration && in modifyContext()
880 if (Line.MustBeDeclaration) in modifyContext()
913 } else if (Current.is(tok::arrow) && AutoFound && Line.MustBeDeclaration && in determineTokenType()
931 Line.MustBeDeclaration) { in determineTokenType()
DContinuationIndenter.cpp546 State.Line->MustBeDeclaration) || in addTokenOnNewLine()
919 (State.Line->MustBeDeclaration && !Style.BinPackParameters) || in moveStatePastScopeOpener()
920 (!State.Line->MustBeDeclaration && !Style.BinPackArguments) || in moveStatePastScopeOpener()