Home
last modified time | relevance | path

Searched refs:semi (Results 1 – 25 of 145) sorted by relevance

123456

/external/clang/lib/Parse/
DParseStmt.cpp134 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace); in StatementFilterCCC()
198 if (Tok.is(tok::semi)) in ParseStatementOrDeclarationAfterAttributes()
235 case tok::semi: { // C99 6.8.3p3: expression[opt] ';' in ParseStatementOrDeclarationAfterAttributes()
384 if (!TryConsumeToken(tok::semi) && !Res.isInvalid()) { in ParseStatementOrDeclarationAfterAttributes()
388 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError); in ParseStatementOrDeclarationAfterAttributes()
408 if (Tok.is(tok::semi)) in ParseExprStatement()
589 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
604 Diag(Tok, diag::err_expected_after) << "__attribute__" << tok::semi; in ParseLabeledStatement()
716 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement()
796 } else if (TryConsumeToken(tok::semi, ColonLoc)) { in ParseDefaultStatement()
[all …]
DParseDeclCXX.cpp111 SkipUntil(tok::semi); in ParseNamespace()
275 SkipUntil(tok::semi); in ParseNamespaceAlias()
285 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name)) in ParseNamespaceAlias()
286 SkipUntil(tok::semi); in ParseNamespaceAlias()
454 SkipUntil(tok::semi); in ParseUsingDirective()
472 if (ExpectAndConsume(tok::semi, in ParseUsingDirective()
475 SkipUntil(tok::semi); in ParseUsingDirective()
514 SkipUntil(tok::semi); in ParseUsingDeclaration()
527 SkipUntil(tok::semi); in ParseUsingDeclaration()
545 Tok.is(tok::identifier) && NextToken().is(tok::semi) && in ParseUsingDeclaration()
[all …]
DParser.cpp125 case tok::semi: in IsCommonTypo()
178 if (TryConsumeToken(tok::semi)) in ExpectAndConsumeSemi()
187 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi()
196 return ExpectAndConsume(tok::semi, DiagID); in ExpectAndConsumeSemi()
200 if (!Tok.is(tok::semi)) return; in ConsumeExtraSemi()
207 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
355 case tok::semi: in SkipUntil()
678 case tok::semi: in ParseExternalDeclaration()
715 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseExternalDeclaration()
828 Tok.is(tok::semi) || // int X(); -> not a function def in isDeclarationAfterDeclarator()
[all …]
DParseObjc.cpp87 SkipUntil(tok::semi); in ParseObjCAtDirectives()
91 SkipUntil(tok::semi); in ParseObjCAtDirectives()
142 SkipUntil(tok::semi); in ParseObjCAtClassDeclaration()
159 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration()
557 tok::comma, tok::semi }, in parseObjCTypeParamListOrProtocolRefs()
638 if (Tok.is(tok::semi)) in ParseObjCInterfaceDeclList()
651 if (Tok.is(tok::semi)) { in ParseObjCInterfaceDeclList()
695 SkipUntil(tok::semi); in ParseObjCInterfaceDeclList()
788 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
1937 if (Tok.is(tok::semi)) { in ParseObjCClassInstanceVariables()
[all …]
DParseCXXInlineMethods.cpp62 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
95 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
96 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXInlineMethodDef()
98 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
749 case tok::semi: in ConsumeAndStoreUntil()
1037 ? tok::semi : tok::r_paren); in ConsumeAndStoreInitializer()
1047 if (Result == TPResult::Ambiguous && Tok.isNot(tok::semi)) in ConsumeAndStoreInitializer()
1212 case tok::semi: in ConsumeAndStoreInitializer()
DParseDecl.cpp1560 if (Tok.is(tok::semi)) { in ParseSimpleDeclaration()
1623 case tok::semi: in MightBeDeclarator()
1660 TryConsumeToken(tok::semi); in SkipMalformedDecl()
1676 case tok::semi: in SkipMalformedDecl()
1762 Fixit &= Tok.isOneOf(tok::semi, tok::l_brace, tok::kw_try); in ParseDeclGroup()
1804 SkipUntil(tok::semi); in ParseDeclGroup()
1906 TryConsumeToken(tok::semi); in ParseDeclGroup()
1921 SkipUntil(tok::semi, StopBeforeMatch); in ParseAsmAttributesAfterDeclarator()
1984 if (Tok.is(tok::semi)) { in ParseDeclarationAfterDeclaratorAndAttributes()
1988 SkipUntil(tok::semi, StopBeforeMatch); in ParseDeclarationAfterDeclaratorAndAttributes()
[all …]
DRAIIObjectsForParser.h387 tok::TokenKind FinalToken = tok::semi)
432 } else if (P.Tok.is(tok::semi) && P.NextToken().is(Close)) { in consumeClose()
DParseTemplate.cpp121 TryConsumeToken(tok::semi); in ParseTemplateDeclarationOrSpecialization()
136 TryConsumeToken(tok::semi); in ParseTemplateDeclarationOrSpecialization()
211 if (Tok.is(tok::semi)) { in ParseSingleDeclarationAfterTemplate()
240 if (Tok.is(tok::semi)) in ParseSingleDeclarationAfterTemplate()
309 SkipUntil(tok::semi); in ParseSingleDeclarationAfterTemplate()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp371 (NextTok->is(tok::semi) && in calculateBraceTypes()
386 case tok::semi: in calculateBraceTypes()
448 if (MunchSemi && FormatTok->Tok.is(tok::semi)) in parseBlock()
643 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
897 if (FormatTok->is(tok::semi)) in parseStructuralElement()
957 if (FormatTok->is(tok::semi)) in parseStructuralElement()
975 case tok::semi: in parseStructuralElement()
1317 case tok::semi: in parseBracedList()
1513 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof)) in parseTryCatch()
1546 if (FormatTok->Tok.is(tok::semi)) in parseNamespace()
[all …]
DTokenAnnotator.cpp279 if (CurrentToken->isOneOf(tok::semi, tok::colon)) in parseParens()
615 !CurrentToken->isOneOf(tok::l_paren, tok::semi, tok::r_paren)) { in consumeToken()
631 Tok->Next->isOneOf(tok::semi, tok::comma, tok::colon, tok::r_paren, in consumeToken()
932 !Previous->Previous->isOneOf(tok::comma, tok::semi); in modifyContext()
969 } else if (Current.isOneOf(tok::semi, tok::exclaim)) { in modifyContext()
1038 !Current.Next->isOneOf(tok::semi, tok::colon, tok::l_brace, in determineTokenType()
1199 Tok.Next->isOneOf(tok::equal, tok::semi, tok::l_brace, tok::greater); in rParenEndsCast()
1255 tok::comma, tok::semi, tok::kw_return, tok::colon, in determineStarAmpUsage()
1265 if (NextToken->isOneOf(tok::comma, tok::semi)) in determineStarAmpUsage()
1457 if (Current->isOneOf(tok::semi, TT_InlineASMColon, TT_SelectorName, in getCurrentPrecedence()
[all …]
/external/bison/tests/
Dactions.at1551 : 'a' { semi; /* TEST:N:2 */ }
1553 | 'c' { if (0) {semi;} /* TEST:N:2 */ }
1554 | 'd' { semi; no_semi /* TEST:Y:2 */ }
1555 | 'e' { semi(); no_semi() /* TEST:Y:2 */ }
1556 | 'f' { semi[]; no_semi[] /* TEST:Y:2 */ }
1557 | 'g' { semi++; no_semi++ /* TEST:Y:2 */ }
1559 | 'i' { {semi;} no_semi /* TEST:Y:2 */ }
1562 : 'a' { semi; // TEST:N:1 ;
1564 } | 'c' { if (0) {semi;} // TEST:N:1 ;
1565 } | 'd' { semi; no_semi // TEST:Y:1 ;
[all …]
/external/oauth/core/src/main/java/net/oauth/
DOAuth.java80 int semi = contentType.indexOf(";"); in isFormEncoded() local
81 if (semi >= 0) { in isFormEncoded()
82 contentType = contentType.substring(0, semi); in isFormEncoded()
/external/python/cpython2/Lib/
Dmimetypes.py126 semi = url.find(';', 0, comma)
127 if semi >= 0:
128 type = url[:semi]
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp145 char *semi=line; in readLine() local
146 while((semi=strchr(semi, ';'))!=NULL) { *semi++=0; } in readLine()
/external/ipsec-tools/src/libipsec/
Dpolicy_token.l84 semi \;
/external/autotest/client/site_tests/firmware_TouchMTB/
Dcontrol15 This semi-automated test uses mtplot to capture and display touch device packet
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.audio17 This is a semi-automated test that exercises the audio devices on the system.
/external/hyphenation-patterns/en-US/
Dushyphex.tex247 co-semi-sim-ple
294 demi-semi-qua-ver
295 demi-semi-qua-vers
461 hemi-demi-semi-qua-ver
462 hemi-demi-semi-qua-vers
1033 semi-def-i-nite
1034 semi-di-rect
1035 semi-ho-mo-thet-ic
1036 semi-ring
1037 semi-rings
[all …]
Dhyph-en-us.hyp.txt248 co-semi-sim-ple
295 demi-semi-qua-ver
296 demi-semi-qua-vers
462 hemi-demi-semi-qua-ver
463 hemi-demi-semi-qua-vers
1034 semi-def-i-nite
1035 semi-di-rect
1036 semi-ho-mo-thet-ic
1037 semi-ring
1038 semi-rings
[all …]
/external/tagsoup/
DTODO2 Handle namespace declarations semi-properly
/external/testng/doc/
Dprettify.js140 var semi = s.indexOf(';', next);
141 if (semi >= 0 && semi < next + 4) {
142 var entityName = s.substring(next, semi).toLowerCase();
143 next = semi + 1;
/external/syslinux/core/
Dldlinux.asm29 ; Some semi-configurable constants... change on your own risk.
/external/ipsec-tools/src/racoon/
Dcftoken.l126 semi \;
/external/swiftshader/third_party/LLVM/lib/TableGen/
DTGLexer.h39 colon, semi, // : ; enumerator
/external/llvm/lib/TableGen/
DTGLexer.h40 colon, semi, // : ; enumerator

123456