/external/clang/lib/Format/ |
UnwrappedLineParser.cpp | 272 kind = tok::l_brace; 282 case tok::l_brace: 323 assert(Tok->Tok.is(tok::l_brace)); 334 case tok::l_brace: 369 tok::r_paren, tok::r_square, tok::l_brace, 414 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) && 643 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && 746 assert(!FormatTok->is(tok::l_brace)); 758 if (FormatTok->Tok.is(tok::l_brace)) { 782 if (FormatTok->Tok.is(tok::l_brace)) { [all...] |
FormatToken.cpp | 84 if (!LBrace || !LBrace->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) || 149 !Token->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare)) 187 if (ItemBegin->is(tok::l_brace)) 227 if (Token->NestingLevel != 0 && Token->is(tok::l_brace) && Commas.size() < 19)
|
TokenAnnotator.cpp | 230 if (CurrentToken->Next && CurrentToken->Next->is(tok::l_brace) && 270 if (CurrentToken->is(tok::l_brace)) 311 CurrentToken->isNot(tok::l_brace) && 325 Contexts.back().ContextKind == tok::l_brace && 326 Parent->isOneOf(tok::l_brace, tok::comma)) { 406 ScopedContextCreator ContextCreator(*this, tok::l_brace, 1); 421 if (CurrentToken->isOneOf(tok::colon, tok::l_brace)) { 442 if (Current->is(tok::l_brace) && Current->BlockKind == BK_Block) 588 case tok::l_brace: [all...] |
ContinuationIndenter.cpp | 108 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && 111 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma)) 118 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && 127 if (Previous.is(tok::l_brace) && State.Stack.size() > 1 && 167 if (((Previous.is(TT_DictLiteral) && Previous.is(tok::l_brace)) || 265 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment)) 579 (PreviousNonComment->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare))) 586 if (!Previous.isOneOf(tok::l_paren, tok::l_brace, TT_BinaryOperator) || 616 if (NextNonComment->is(tok::l_brace) && NextNonComment->BlockKind == BK_Block) [all...] |
UnwrappedLineFormatter.cpp | 25 NextNext && NextNext->is(tok::l_brace); 201 if (TheLine->Last->is(tok::l_brace)) { 267 (I[1]->First->is(tok::l_brace) && !Style.AllowShortBlocksOnASingleLine)) 384 if (Tok->is(tok::l_brace) && Tok->BlockKind != BK_BracedInit) 513 if (!LBrace || LBrace->isNot(tok::l_brace) || [all...] |
FormatToken.h | 337 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square, 432 (is(tok::l_brace) &&
|
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 32 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try, tok::equal) && 163 ConsumeAndStoreUntil(tok::l_brace, Toks, /*StopAtSemi=*/false); 198 assert(Tok.isOneOf(tok::l_brace, tok::equal) && 212 if (kind == tok::l_brace) { 351 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 518 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try) 540 if (!Tok.is(tok::l_brace)) { 705 case tok::l_brace: 781 ConsumeAndStoreUntil(tok::l_brace, tok::r_brace, Toks, 784 if (Tok.isNot(tok::l_brace)) [all...] |
ParseStmt.cpp | 134 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace); 233 case tok::l_brace: // C99 6.8.2: compound-statement 442 if (Tok.isNot(tok::l_brace)) 443 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); 512 if (Tok.isNot(tok::l_brace)) 513 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); 533 if (Tok.isNot(tok::l_brace)) 534 return StmtError(Diag(Tok, diag::err_expected) << tok::l_brace); 859 assert(Tok.is(tok::l_brace) && "Not a compount stmt!"); 937 BalancedDelimiterTracker T(*this, tok::l_brace); 2194 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 2214 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok [all...] |
ParseInit.cpp | 392 BalancedDelimiterTracker T(*this, tok::l_brace); 486 BalancedDelimiterTracker Braces(*this, tok::l_brace); 488 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok
|
ParseDeclCXX.cpp | 123 BalancedDelimiterTracker T(*this, tok::l_brace); 126 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 128 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; member in class:tok 309 Tok.is(tok::l_brace) ? Tok.getLocation() : SourceLocation()); 315 if (Tok.isNot(tok::l_brace)) { 332 BalancedDelimiterTracker T(*this, tok::l_brace); 3948 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok [all...] |
ParseObjc.cpp | 307 if (Tok.is(tok::l_brace)) 383 if (Tok.is(tok::l_brace)) 556 tok::minus, tok::plus, tok::colon, tok::l_paren, tok::l_brace, 2498 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 2538 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 2588 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 2614 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok 2640 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok [all...] |
Parser.cpp | 317 case tok::l_brace: 839 if (Tok.is(tok::l_brace)) // int X() {} 1969 Diag(Tok, diag::err_expected) << tok::l_brace; member in class:tok [all...] |
RAIIObjectsForParser.h | 373 case tok::l_brace: return P.BraceCount; 393 case tok::l_brace:
|
ParseTentative.cpp | 302 } else if (Tok.is(tok::l_brace)) { 435 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { [all...] |
ParseExprCXX.cpp | 231 if (NextKind == tok::l_brace) { 449 if (Next.is(tok::coloncolon) && GetLookAheadToken(2).is(tok::l_brace)) { 724 SkipUntil(tok::l_brace, StopAtSemi); [all...] |
ParseStmtAsm.cpp | 395 if (Tok.is(tok::l_brace)) { 417 if (!InAsmComment && Tok.is(tok::l_brace)) { 456 if (PP.LookAhead(0).is(tok::l_brace)) 514 Diag(LBraceLocs.back(), diag::note_matching) << tok::l_brace; 520 Diag(Tok, diag::err_expected) << tok::l_brace;
|
ParseExpr.cpp | 230 if (K == tok::l_brace || K == tok::r_brace || 364 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { [all...] |
ParseDecl.cpp | 3891 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; member in class:tok [all...] |
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
TGLexer.h | 36 l_brace, r_brace, // { } enumerator in enum:llvm::tgtok::TokKind
|
TGLexer.cpp | 104 case '{': return tgtok::l_brace;
|
/external/llvm/lib/TableGen/ |
TGLexer.h | 37 l_brace, r_brace, // { } enumerator in enum:llvm::tgtok::TokKind
|
TGLexer.cpp | 109 case '{': return tgtok::l_brace;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
TGLexer.h | 37 l_brace, r_brace, // { } enumerator in enum:llvm::tgtok::TokKind
|
TGParser.cpp | 499 case tgtok::l_brace: 751 if (Lex.getCode() != tgtok::l_brace) [all...] |
TGLexer.cpp | 111 case '{': return tgtok::l_brace;
|