/external/clang/lib/Parse/ |
D | ParseInit.cpp | 325 if (Tok.is(tok::r_brace)) { in ParseBraceInitializer() 365 SkipUntil(tok::r_brace, false, true); in ParseBraceInitializer() 377 if (Tok.is(tok::r_brace)) break; in ParseBraceInitializer() 379 if (InitExprsOk && Tok.is(tok::r_brace)) in ParseBraceInitializer() 384 MatchRHSPunctuation(tok::r_brace, LBraceLoc); in ParseBraceInitializer()
|
D | ParseStmt.cpp | 136 SkipUntil(tok::r_brace, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseStatementOrDeclaration() 172 SkipUntil(tok::r_brace, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseStatementOrDeclaration() 184 SkipUntil(tok::r_brace, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseStatementOrDeclaration() 211 if (Tok.is(tok::r_brace)) { in ParseStatementOrDeclaration() 290 SkipUntil(tok::r_brace, true, true); in ParseStatementOrDeclaration() 308 SkipUntil(tok::r_brace, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseExprStatement() 587 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement() 636 if (Tok.is(tok::r_brace)) { in ParseDefaultStatement() 744 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseCompoundStatementBody() 804 if (Tok.isNot(tok::r_brace)) { in ParseCompoundStatementBody() [all …]
|
D | ParseDeclCXX.cpp | 117 SkipUntil(tok::r_brace, false); in ParseNamespace() 123 SkipUntil(tok::r_brace, /*StopAtSemi*/false, /*DontConsume*/true); in ParseNamespace() 127 if (!rBraceToken.is(tok::r_brace)) { in ParseNamespace() 188 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseInnerNamespace() 194 RBraceLoc = MatchRHSPunctuation(tok::r_brace, LBrace); in ParseInnerNamespace() 300 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseLinkage() 307 SourceLocation RBrace = MatchRHSPunctuation(tok::r_brace, LBrace); in ParseLinkage() 1287 case tok::r_brace: // struct bar { struct foo {...} } in ParseClassSpecifier() 1586 SkipUntil(tok::r_brace); in ParseCXXClassMemberDeclaration() 1713 SkipUntil(tok::r_brace, true, true); in ParseCXXClassMemberDeclaration() [all …]
|
D | ParseCXXInlineMethods.cpp | 149 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/false); in ParseCXXInlineMethodDef() 155 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/false); in ParseCXXInlineMethodDef() 195 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/true); in ParseCXXNonStaticMemberInitializer() 527 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/false); in ConsumeAndStoreUntil() 547 case tok::r_brace: in ConsumeAndStoreUntil()
|
D | ParseTemplate.cpp | 136 SkipUntil(tok::r_brace, true, true); in ParseTemplateDeclarationOrSpecialization() 230 SkipUntil(tok::r_brace, true, true); in ParseSingleDeclarationAfterTemplate() 265 SkipUntil(tok::r_brace, true); in ParseSingleDeclarationAfterTemplate() 1240 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/false); in LexTemplateFunctionForLateParsing() 1246 ConsumeAndStoreUntil(tok::r_brace, Toks, /*StopAtSemi=*/false); in LexTemplateFunctionForLateParsing()
|
D | Parser.cpp | 141 case tok::r_brace : LHSName = "{"; DID = diag::err_expected_rbrace; break; in MatchRHSPunctuation() 275 SkipUntil(tok::r_brace, false, false, StopAtCodeCompletion); in SkipUntil() 293 case tok::r_brace: in SkipUntil() 564 case tok::r_brace: in ParseExternalDeclaration() 1516 SkipUntil(tok::r_brace, false); in ParseMicrosoftIfExistsExternalDeclaration() 1521 while (Tok.isNot(tok::r_brace)) { in ParseMicrosoftIfExistsExternalDeclaration() 1530 if (Tok.isNot(tok::r_brace)) { in ParseMicrosoftIfExistsExternalDeclaration()
|
D | ParseDecl.cpp | 779 SkipUntil(tok::r_brace, true, true); in ParseDeclGroup() 879 SkipUntil(tok::r_brace, true, true); in ParseDeclGroup() 2324 if (Tok.is(tok::r_brace) && !getLang().CPlusPlus) in ParseStructUnionBody() 2331 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseStructUnionBody() 2391 } else if (Tok.is(tok::r_brace)) { in ParseStructUnionBody() 2397 SkipUntil(tok::r_brace, true, true); in ParseStructUnionBody() 2403 SourceLocation RBraceLoc = MatchRHSPunctuation(tok::r_brace, LBraceLoc); in ParseStructUnionBody() 2653 SkipUntil(tok::r_brace); in ParseEnumSpecifier() 2687 if (Tok.is(tok::r_brace) && !getLang().CPlusPlus) in ParseEnumBody() 2709 SkipUntil(tok::comma, tok::r_brace, true, true); in ParseEnumBody() [all …]
|
D | ParseObjc.cpp | 369 if (Tok.is(tok::r_brace)) in ParseObjCInterfaceDeclList() 410 SkipUntil(tok::r_brace, tok::at); in ParseObjCInterfaceDeclList() 875 SkipUntil(tok::r_brace); in ParseObjCMethodDecl() 1126 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseObjCClassInstanceVariables() 1198 SkipUntil(tok::r_brace, true, true); in ParseObjCClassInstanceVariables() 1201 SourceLocation RBraceLoc = MatchRHSPunctuation(tok::r_brace, LBraceLoc); in ParseObjCClassInstanceVariables()
|
D | ParseExprCXX.cpp | 787 case tok::r_brace: in ParseThrowExpression()
|
/external/llvm/utils/TableGen/ |
D | TGLexer.h | 36 l_brace, r_brace, // { } enumerator
|
D | TGParser.cpp | 561 if (Lex.getCode() != tgtok::r_brace) { in ParseOptionalBitList() 1120 if (Lex.getCode() != tgtok::r_brace) { in ParseSimpleValue() 1124 if (Lex.getCode() != tgtok::r_brace) { in ParseSimpleValue() 1327 if (Lex.getCode() != tgtok::r_brace) { in ParseValue() 1606 while (Lex.getCode() != tgtok::r_brace) in ParseBody() 1822 if (Lex.getCode() != tgtok::r_brace) { in ParseTopLevelLet() 1892 if (Lex.Lex() == tgtok::r_brace) // eat the '{'. in ParseMultiClass() 1895 while (Lex.getCode() != tgtok::r_brace) { in ParseMultiClass()
|
D | TGLexer.cpp | 105 case '}': return tgtok::r_brace; in LexToken()
|
/external/bison/tests/ |
D | existing.at | 112 : l_brace statements r_brace opt_semi opt_nls 113 | l_brace r_brace opt_semi opt_nls 130 : l_brace statements r_brace opt_semi opt_nls 131 | l_brace r_brace opt_semi opt_nls 148 | l_brace r_brace 149 | l_brace statements r_brace 330 r_brace
|
D | testsuite | 55006 : l_brace statements r_brace opt_semi opt_nls 55007 | l_brace r_brace opt_semi opt_nls 55024 : l_brace statements r_brace opt_semi opt_nls 55025 | l_brace r_brace opt_semi opt_nls 55042 | l_brace r_brace 55043 | l_brace statements r_brace 55224 r_brace
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 2262 Kind = tok::r_brace; in LexTokenInternal() 2390 Kind = tok::r_brace; // '%>' -> '}' in LexTokenInternal()
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 130 PUNCTUATOR(r_brace, "}")
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 261 return Tok.getKind() == tok::l_brace || Tok.getKind() == tok::r_brace; in isTokenBrace()
|