/external/clang/test/Preprocessor/ |
directive-invalid.c | 4 #define r_paren ) macro 5 #if defined( x r_paren // expected-error {{missing ')' after 'defined'}} \
|
/frameworks/compile/slang/ |
slang_pragma_recorder.cpp | 43 if (Token.is(clang::tok::r_paren)) 83 if (!NextToken->is(clang::tok::r_paren)) { 85 if (NextToken->is(clang::tok::r_paren)) {
|
slang_rs_pragma_handler.cpp | 108 if (NextTok.is(clang::tok::r_paren)) { 249 if (PragmaToken.isNot(clang::tok::r_paren)) { 271 if (PragmaToken.isNot(clang::tok::r_paren)) { 283 if (PragmaToken.isNot(clang::tok::r_paren)) { 331 if (PragmaToken.isNot(clang::tok::r_paren)) {
|
/external/clang/lib/Parse/ |
ParseOpenMP.cpp | 299 while (Tok.isNot(tok::r_paren) && Tok.isNot(tok::annot_pragma_openmp_end)) { 310 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, 315 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, 317 } else if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren) && 320 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, 527 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && 582 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && 696 SkipUntil(tok::colon, tok::r_paren, tok::annot_pragma_openmp_end, 709 while (IsComma || (Tok.isNot(tok::r_paren) && Tok.isNot(tok::colon) && 718 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end [all...] |
ParseExpr.cpp | 1843 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok 1960 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok 1987 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok 2016 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok [all...] |
ParseTentative.cpp | 162 if (!SkipUntil(tok::r_paren)) 193 if (!SkipUntil(tok::r_paren)) 299 if (!SkipUntil(tok::r_paren, StopAtSemi)) 443 if (Context == TypeIdInParens && Tok.is(tok::r_paren)) { 593 if (!SkipUntil(tok::r_paren)) { 694 if (NextToken().is(tok::r_paren)) { 823 (Tok.is(tok::r_paren) || // 'int()' is a function. 825 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren)) || 848 if (Tok.isNot(tok::r_paren)) [all...] |
ParseDecl.cpp | 132 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; 136 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; 178 ConsumeAndStoreUntil(tok::r_paren, LA->Toks, true, false); 186 if (ExpectAndConsume(tok::r_paren)) 187 SkipUntil(tok::r_paren, StopAtSemi); 189 if (ExpectAndConsume(tok::r_paren)) 190 SkipUntil(tok::r_paren, StopAtSemi); 251 if (Tok.isNot(tok::r_paren)) 288 IsIdentifierArg = Next.is(tok::r_paren) || Next.is(tok::comma); 295 if (!ArgExprs.empty() ? Tok.is(tok::comma) : Tok.isNot(tok::r_paren)) { 1060 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok [all...] |
ParseCXXInlineMethods.cpp | 691 ConsumeAndStoreUntil(tok::r_paren, Toks, /*StopAtSemi=*/false); 711 case tok::r_paren: 811 if (!ConsumeAndStoreUntil(tok::r_paren, Toks, /*StopAtSemi=*/true)) { 812 Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; member in class:tok [all...] |
ParsePragma.cpp | 585 if (Tok.isNot(tok::r_paren)) { 631 else if (Tok.isNot(tok::r_paren)) { 637 } else if (Tok.isNot(tok::r_paren)) { 645 if (Tok.isNot(tok::r_paren)) { 667 if (Tok.isNot(tok::r_paren)) { 735 if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen, 1755 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; member in class:tok 1916 PP.Diag(Tok.getLocation(), diag::err_expected) << tok::r_paren; member in class:tok [all...] |
ParseObjc.cpp | 581 SkipUntil(tok::r_paren, StopAtSemi); 600 SkipUntil(tok::r_paren, StopAtSemi); 610 SkipUntil(tok::r_paren, StopAtSemi); 619 SkipUntil(tok::r_paren, StopAtSemi); 912 if (Tok.is(tok::r_paren)) 917 SkipUntil(tok::r_paren, StopAtSemi); 1491 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok 1761 Diag(Tok, diag::err_expected) << tok::r_paren; member in class:tok [all...] |
ParseStmtAsm.cpp | 640 SkipUntil(tok::r_paren, StopAtSemi); 658 if (Tok.is(tok::r_paren)) { 705 if (Tok.isNot(tok::r_paren)) { 754 SkipUntil(tok::r_paren, StopAtSemi); 768 SkipUntil(tok::r_paren, StopAtSemi); 775 SkipUntil(tok::r_paren, StopAtSemi); 785 SkipUntil(tok::r_paren, StopAtSemi);
|
ParseExprCXX.cpp | 124 if (NextTok.is(tok::r_paren)) { [all...] |
ParseStmt.cpp | 491 if (ExpectAndConsume(tok::r_paren)) [all...] |
Parser.cpp | 166 if ((Tok.is(tok::r_paren) || Tok.is(tok::r_square)) && 284 SkipUntil(tok::r_paren, StopAtCodeCompletion); 286 SkipUntil(tok::r_paren); 310 case tok::r_paren: [all...] |
RAIIObjectsForParser.h | 392 Close = tok::r_paren;
|
ParseDeclCXX.cpp | 712 if (Tok.is(tok::r_paren)) { 779 "decltype", tok::r_paren)) { 808 if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) { 886 "__underlying_type", tok::r_paren)) { 892 SkipUntil(tok::r_paren, StopAtSemi); [all...] |
/external/clang/unittests/Lex/ |
LexerTest.cpp | 120 ExpectedTokens.push_back(tok::r_paren); 186 ExpectedTokens.push_back(tok::r_paren); 201 ExpectedTokens.push_back(tok::r_paren); 214 ExpectedTokens.push_back(tok::r_paren); 227 ExpectedTokens.push_back(tok::r_paren); 242 ExpectedTokens.push_back(tok::r_paren); 257 ExpectedTokens.push_back(tok::r_paren);
|
/external/clang/lib/Format/ |
TokenAnnotator.cpp | 71 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok::r_brace, 179 if (CurrentToken->is(tok::r_paren)) { 299 if (CurrentToken->isOneOf(tok::r_paren, tok::r_brace)) 306 if (Parent && Parent->is(tok::r_paren)) 344 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square)) 448 if (Tok->Previous->is(tok::r_paren)) 453 Tok->Next->isOneOf(tok::r_paren, tok::comma)) { 495 !(Tok->Previous->is(tok::r_paren) && Contexts.size() > 1))) && 504 case tok::r_paren: 517 !CurrentToken->isOneOf(tok::l_paren, tok::semi, tok::r_paren)) { [all...] |
FormatToken.h | 318 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square,
|
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 399 } else if (I->is(tok::r_paren)) { 494 TempToken.setKind(tok::r_paren); 543 while (Tok.isNot(tok::r_paren)) { 577 } else if (Tok.is(tok::r_paren)) { 626 if (ArgTokens.empty() && Tok.getKind() == tok::r_paren) 657 // Okay, we either found the r_paren. Check to see if we parsed too few [all...] |
Pragma.cpp | 194 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) 196 if (Tok.is(tok::r_paren)) 205 if (Tok.is(tok::r_paren)) 215 if (Tok.isNot(tok::r_paren)) { 321 else if (Tok.is(tok::r_paren) && NumParens-- == 0) 533 if (Tok.isNot(tok::r_paren)) { 690 if (Tok.isNot(tok::r_paren)) { [all...] |
PPExpressions.cpp | 130 if (PeekTok.isNot(tok::r_paren)) { 132 << "'defined'" << tok::r_paren; member in class:tok 208 case tok::r_paren: 340 if (PeekTok.is(tok::r_paren)) { 347 if (PeekTok.isNot(tok::r_paren)) { 450 case tok::r_paren: return 0;// Lowest priority, end of expr.
|
/external/llvm/lib/TableGen/ |
TGLexer.h | 38 l_paren, r_paren, // ( ) enumerator in enum:llvm::tgtok::TokKind
|
TGLexer.cpp | 112 case ')': return tgtok::r_paren;
|
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 427 if (tok.is(tok::r_paren)) 445 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); 446 if (tok.is(tok::r_paren)) 455 if (BeforeTok.is(tok::l_paren) && AfterTok.is(tok::r_paren)) { 507 if (tok.is(tok::r_paren)) {
|