Home
last modified time | relevance | path

Searched refs:r_brace (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/Parse/
DParseInit.cpp325 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()
DParseStmt.cpp136 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 …]
DParseDeclCXX.cpp117 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 …]
DParseCXXInlineMethods.cpp149 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()
DParseTemplate.cpp136 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()
DParser.cpp141 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()
DParseDecl.cpp779 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 …]
DParseObjc.cpp369 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()
DParseExprCXX.cpp787 case tok::r_brace: in ParseThrowExpression()
/external/llvm/utils/TableGen/
DTGLexer.h36 l_brace, r_brace, // { } enumerator
DTGParser.cpp561 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()
DTGLexer.cpp105 case '}': return tgtok::r_brace; in LexToken()
/external/bison/tests/
Dexisting.at112 : 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
Dtestsuite55006 : 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/
DLexer.cpp2262 Kind = tok::r_brace; in LexTokenInternal()
2390 Kind = tok::r_brace; // '%>' -> '}' in LexTokenInternal()
/external/clang/include/clang/Basic/
DTokenKinds.def130 PUNCTUATOR(r_brace, "}")
/external/clang/include/clang/Parse/
DParser.h261 return Tok.getKind() == tok::l_brace || Tok.getKind() == tok::r_brace; in isTokenBrace()