Searched refs:r_paren (Results 1 - 24 of 24) sorted by relevance

/external/clang/test/Preprocessor/
H A Ddirective-invalid.c4 #define r_paren ) macro
5 #if defined( x r_paren // expected-error {{missing ')' after 'defined'}} \
/external/clang/lib/Parse/
H A DParseExpr.cpp1447 if (Tok.isNot(tok::r_paren)) {
1457 SkipUntil(tok::r_paren);
1458 } else if (Tok.isNot(tok::r_paren)) {
1678 SkipUntil(tok::r_paren);
1777 if (ExpectAndConsume(tok::comma, diag::err_expected_comma, "",tok::r_paren))
1782 if (Tok.isNot(tok::r_paren)) {
1797 SkipUntil(tok::r_paren);
1801 if (ExpectAndConsume(tok::comma, diag::err_expected_comma, "",tok::r_paren))
1807 SkipUntil(tok::r_paren);
1829 SkipUntil(tok::r_paren);
[all...]
H A DParseTentative.cpp219 if (!SkipUntil(tok::r_paren))
373 if (Context == TypeIdInParens && Tok.is(tok::r_paren)) {
523 if (!SkipUntil(tok::r_paren, false)) {
651 (Tok.is(tok::r_paren) || // 'int()' is a function.
653 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren)) ||
675 if (Tok.isNot(tok::r_paren))
1303 if (!SkipUntil(tok::r_paren))
1381 if (Tok.isNot(tok::r_paren))
1430 if (Tok.is(tok::r_paren))
1444 if (Tok.is(tok::r_paren))
[all...]
H A DParseDecl.cpp118 SkipUntil(tok::r_paren, true); // skip until ) or ;
122 SkipUntil(tok::r_paren, true); // skip until ) or ;
150 ConsumeAndStoreUntil(tok::r_paren, LA->Toks, true, false);
164 if (ExpectAndConsume(tok::r_paren, diag::err_expected_rparen))
165 SkipUntil(tok::r_paren, false);
167 if (ExpectAndConsume(tok::r_paren, diag::err_expected_rparen)) {
168 SkipUntil(tok::r_paren, false);
242 (ParmLoc.isValid() ? Tok.is(tok::comma) : Tok.isNot(tok::r_paren))) {
251 SkipUntil(tok::r_paren);
274 SkipUntil(tok::r_paren, fals
[all...]
H A DParseStmt.cpp381 if(ExpectAndConsume(tok::r_paren,diag::err_expected_rparen))
832 if (ExprResult.isInvalid() && !DeclResult && Tok.isNot(tok::r_paren)) {
836 if (Tok.isNot(tok::r_paren))
846 while (Tok.is(tok::r_paren)) {
1379 SkipUntil(tok::r_paren, false, true);
1386 SkipUntil(tok::r_paren, true, true);
1397 } else if (Tok.is(tok::r_paren)) {
1418 SkipUntil(tok::r_paren, true, true);
1426 if (Tok.isNot(tok::r_paren)) { // for (...;...;)
1756 SkipUntil(tok::r_paren);
[all...]
H A DParseExprCXX.cpp769 if (Tok.isNot(tok::r_paren))
1022 SkipUntil(tok::r_paren);
1072 SkipUntil(tok::r_paren);
1195 case tok::r_paren:
1256 if (Tok.isNot(tok::r_paren)) {
1258 SkipUntil(tok::r_paren);
1375 if (SkipUntil(tok::r_paren, true, /*DontConsume=*/true))
2290 if (Tok.isNot(tok::r_paren)) {
2565 SkipUntil(tok::r_paren);
2570 SkipUntil(tok::r_paren);
[all...]
H A DParseObjc.cpp595 if (ExpectAndConsume(tok::equal, DiagID, "", tok::r_paren))
613 SkipUntil(tok::r_paren);
623 tok::r_paren))
631 SkipUntil(tok::r_paren);
923 if (Tok.is(tok::r_paren))
928 SkipUntil(tok::r_paren);
1496 if (Tok.isNot(tok::r_paren)) {
1498 SkipUntil(tok::r_paren, false); // don't stop at ';'
1753 if (Tok.is(tok::r_paren)) {
1847 if (Tok.is(tok::r_paren))
[all...]
H A DParseCXXInlineMethods.cpp549 ConsumeAndStoreUntil(tok::r_paren, Toks, /*StopAtSemi=*/false);
569 case tok::r_paren:
659 if (!ConsumeAndStoreUntil(IsLParen ? tok::r_paren : tok::r_brace,
H A DParsePragma.cpp88 if (Tok.isNot(tok::r_paren)) {
204 if (Tok.isNot(tok::r_paren)) {
384 if (Tok.is(tok::r_paren)) {
H A DParseDeclCXX.cpp683 "decltype", tok::r_paren)) {
697 SkipUntil(tok::r_paren);
755 "__underlying_type", tok::r_paren)) {
761 SkipUntil(tok::r_paren);
940 case tok::r_paren: //(struct foo {...} ) {4}
2577 if (Tok.isNot(tok::r_paren) && ParseExpressionList(ArgExprs, CommaLocs)) {
2578 SkipUntil(tok::r_paren);
2713 while (Tok.isNot(tok::r_paren)) {
2967 SkipUntil(tok::r_paren, false);
H A DRAIIObjectsForParser.h391 Close = tok::r_paren;
H A DParser.cpp210 if ((Tok.is(tok::r_paren) || Tok.is(tok::r_square)) &&
302 SkipUntil(tok::r_paren, false, false, StopAtCodeCompletion);
320 case tok::r_paren:
1274 SkipUntil(tok::r_paren, true, true);
1910 case tok::r_paren : LHSName = "("; DID = diag::err_expected_rparen; break;
/external/llvm/lib/TableGen/
H A DTGLexer.h37 l_paren, r_paren, // ( ) enumerator in enum:llvm::tgtok::TokKind
H A DTGLexer.cpp113 case ')': return tgtok::r_paren;
H A DTGParser.cpp914 if (Lex.getCode() != tgtok::r_paren) {
966 if (Lex.getCode() != tgtok::r_paren) {
1038 if (Lex.getCode() != tgtok::r_paren) {
1387 if (Lex.getCode() != tgtok::r_paren) {
1392 if (Lex.getCode() != tgtok::r_paren) {
/external/clang/lib/Lex/
H A DPragma.cpp191 if (Tok.isNot(tok::r_paren))
193 if (Tok.is(tok::r_paren))
202 if (Tok.is(tok::r_paren))
212 if (Tok.isNot(tok::r_paren)) {
292 else if (Tok.is(tok::r_paren) && NumParens-- == 0)
545 if (Tok.isNot(tok::r_paren)) {
549 Lex(Tok); // eat the r_paren.
621 if (Tok.isNot(tok::r_paren)) {
625 Lex(Tok); // eat the r_paren.
673 if (Tok.isNot(tok::r_paren)) {
[all...]
H A DPPMacroExpansion.cpp377 while (Tok.isNot(tok::r_paren)) {
398 } else if (Tok.is(tok::r_paren)) {
445 if (ArgTokens.empty() && Tok.getKind() == tok::r_paren)
479 // Okay, we either found the r_paren. Check to see if we parsed too few
860 if (Tok.isNot(tok::r_paren)) {
1059 if (Tok.is(tok::r_paren))
1112 do Lex(Tok); while (!(Tok.is(tok::r_paren) || Tok.is(tok::eod)));
1128 if (!(IsValid = Tok.is(tok::r_paren)))
H A DPPExpressions.cpp130 if (PeekTok.isNot(tok::r_paren)) {
195 case tok::r_paren:
317 if (PeekTok.is(tok::r_paren)) {
324 if (PeekTok.isNot(tok::r_paren)) {
427 case tok::r_paren: return 0;// Lowest priority, end of expr.
H A DPPDirectives.cpp1607 case tok::r_paren:
1622 if (Tok.isNot(tok::r_paren)) {
1662 case tok::r_paren: // #define X(A)
1673 if (Tok.isNot(tok::r_paren)) {
H A DLexer.cpp2866 Kind = tok::r_paren;
/external/clang/lib/ARCMigrate/
H A DTransforms.cpp413 if (tok.is(tok::r_paren))
432 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren));
433 if (tok.is(tok::r_paren))
442 if (BeforeTok.is(tok::l_paren) && AfterTok.is(tok::r_paren)) {
495 if (tok.is(tok::r_paren)) {
/external/clang/include/clang/Parse/
H A DParser.h296 return Tok.getKind() == tok::l_paren || Tok.getKind() == tok::r_paren;
/external/bison/tests/
H A Dtestsuite[all...]
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp239 } while (Tok.isNot(tok::r_paren));

Completed in 388 milliseconds