Home
last modified time | relevance | path

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

12345678910>>...14

/external/llvm-project/mlir/docs/Dialects/
DAffine.md207 Syntax of semi-affine expressions:
210 semi-affine-expr ::= `(` semi-affine-expr `)`
211 | semi-affine-expr `+` semi-affine-expr
212 | semi-affine-expr `-` semi-affine-expr
213 | symbol-or-const `*` semi-affine-expr
214 | semi-affine-expr `ceildiv` symbol-or-const
215 | semi-affine-expr `floordiv` symbol-or-const
216 | semi-affine-expr `mod` symbol-or-const
222 multi-dim-semi-affine-expr ::= `(` semi-affine-expr (`,` semi-affine-expr)* `)`
228 Syntax of semi-affine maps:
[all …]
/external/rust/crates/syn/src/
Dderive.rs106 let (where_clause, fields, semi) = data_struct(input)?; in parse()
118 semi_token: semi, in parse()
184 let semi = input.parse()?; localVariable
185 Ok((where_clause, Fields::Unnamed(fields), Some(semi)))
193 let semi = input.parse()?; localVariable
194 Ok((where_clause, Fields::Unit, Some(semi)))
Dstmt.rs113 while let Some(semi) = input.parse::<Option<Token![;]>>()? { in parse_within()
114 stmts.push(Stmt::Semi(Expr::Verbatim(TokenStream::new()), semi)); in parse_within()
301 Stmt::Semi(expr, semi) => { in to_tokens()
303 semi.to_tokens(tokens); in to_tokens()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMacroParenthesesCheck.cpp45 tok::semi); in isSurroundedLeft()
51 tok::semi); in isSurroundedRight()
99 Tok->isOneOf(tok::equal, tok::semi, tok::l_square, tok::l_paren) || in possibleVarDecl()
121 if (Count == 0 && Tok.isOneOf(tok::comma, tok::semi)) in replacementList()
177 if (Tok.isOneOf(tok::equal, tok::semi, tok::l_square, tok::l_paren)) in argument()
226 if (Prev.isOneOf(tok::equal, tok::kw_return) && Next.is(tok::semi)) in argument()
/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 …]
/external/rust/cxx/syntax/
Dfile.rs46 let semi: Option<Token![;]> = input.parse()?; in parse() localVariable
47 if let Some(semi) = semi { in parse()
48 let span = quote!(#vis #mod_token #semi); in parse()
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp128 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace); in StatementFilterCCC()
195 if (Tok.is(tok::semi)) in ParseStatementOrDeclarationAfterAttributes()
249 case tok::semi: { // C99 6.8.3p3: expression[opt] ';' in ParseStatementOrDeclarationAfterAttributes()
426 if (!TryConsumeToken(tok::semi) && !Res.isInvalid()) { in ParseStatementOrDeclarationAfterAttributes()
430 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError); in ParseStatementOrDeclarationAfterAttributes()
452 if (Tok.is(tok::semi)) in ParseExprStatement()
639 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
653 Diag(Tok, diag::err_expected_after) << "__attribute__" << tok::semi; in ParseLabeledStatement()
757 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement()
839 } else if (TryConsumeToken(tok::semi, ColonLoc)) { in ParseDefaultStatement()
[all …]
DParseDeclCXX.cpp125 SkipUntil(tok::semi); in ParseNamespace()
304 SkipUntil(tok::semi); in ParseNamespaceAlias()
311 SkipUntil(tok::semi); in ParseNamespaceAlias()
321 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name)) in ParseNamespaceAlias()
322 SkipUntil(tok::semi); in ParseNamespaceAlias()
550 SkipUntil(tok::semi); in ParseUsingDirective()
558 SkipUntil(tok::semi); in ParseUsingDirective()
575 if (ExpectAndConsume(tok::semi, in ParseUsingDirective()
578 SkipUntil(tok::semi); in ParseUsingDirective()
629 (NextToken().is(tok::semi) || NextToken().is(tok::comma) || in ParseUsingDeclarator()
[all …]
DParser.cpp104 case tok::semi: in IsCommonTypo()
157 if (TryConsumeToken(tok::semi)) in ExpectAndConsumeSemi()
166 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi()
175 return ExpectAndConsume(tok::semi, DiagID); in ExpectAndConsumeSemi()
179 if (!Tok.is(tok::semi)) return; in ConsumeExtraSemi()
186 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
385 case tok::semi: in SkipUntil()
817 case tok::semi: in ParseExternalDeclaration()
853 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseExternalDeclaration()
960 SkipUntil(tok::semi); in ParseExternalDeclaration()
[all …]
/external/llvm-project/clang/lib/Format/
DUnwrappedLineParser.cpp514 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace)) || in calculateBraceTypes()
515 (NextTok->is(tok::semi) && in calculateBraceTypes()
541 case tok::semi: in calculateBraceTypes()
636 if (MunchSemi && FormatTok->Tok.is(tok::semi)) in parseBlock()
917 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
1178 if (FormatTok->is(tok::semi)) in parseStructuralElement()
1313 if (FormatTok->is(tok::semi)) in parseStructuralElement()
1331 case tok::semi: in parseStructuralElement()
1538 if (Tok->isOneOf(tok::semi, tok::kw_public, tok::kw_private, in tryToParsePropertyAccessor()
1567 while (!eof() && FormatTok->isNot(tok::semi)) in tryToParsePropertyAccessor()
[all …]
/external/libxkbcommon/test/data/symbols/
Dkpdl88 // punctuation, comma as a thousands separator and then semi-colon as
89 // the list separator. Of these, dot and semi-colon is most important
91 // and added to the presentation afterwards. Using semi-colon as a
97 xkb_symbols "semi" {
/external/libtextclassifier/abseil-cpp/absl/copts/
DGENERATED_copts.bzl16 "-Wno-extra-semi",
17 "-Wno-extra-semi-stmt",
117 "-Wno-extra-semi",
118 "-Wno-extra-semi-stmt",
DGENERATED_AbseilCopts.cmake15 "-Wno-extra-semi"
16 "-Wno-extra-semi-stmt"
116 "-Wno-extra-semi"
117 "-Wno-extra-semi-stmt"
/external/webrtc/third_party/abseil-cpp/absl/copts/
DGENERATED_copts.bzl16 "-Wno-extra-semi",
17 "-Wno-extra-semi-stmt",
115 "-Wno-extra-semi",
116 "-Wno-extra-semi-stmt",
DGENERATED_AbseilCopts.cmake15 "-Wno-extra-semi"
16 "-Wno-extra-semi-stmt"
114 "-Wno-extra-semi"
115 "-Wno-extra-semi-stmt"
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/copts/
DGENERATED_copts.bzl16 "-Wno-extra-semi",
17 "-Wno-extra-semi-stmt",
117 "-Wno-extra-semi",
118 "-Wno-extra-semi-stmt",
DGENERATED_AbseilCopts.cmake15 "-Wno-extra-semi"
16 "-Wno-extra-semi-stmt"
116 "-Wno-extra-semi"
117 "-Wno-extra-semi-stmt"
/external/abseil-cpp/absl/copts/
DGENERATED_copts.bzl16 "-Wno-extra-semi",
17 "-Wno-extra-semi-stmt",
115 "-Wno-extra-semi",
116 "-Wno-extra-semi-stmt",
DGENERATED_AbseilCopts.cmake15 "-Wno-extra-semi"
16 "-Wno-extra-semi-stmt"
114 "-Wno-extra-semi"
115 "-Wno-extra-semi-stmt"
/external/llvm-project/mlir/test/Dialect/Linalg/
Dfold-affine-min-scf.mlir54 // semi-affine canonicalizations: `((s0 * 42 - 1) floordiv s0) * s0`
69 // semi-affine canonicalizations.
71 // semi-affine canonicalizations: ` -(((s0 * s0 - 1) floordiv s0) * s0)`
117 // semi-affine canonicalizations.
132 // semi-affine canonicalizations.
/external/rust/cxx/gen/src/
Dfile.rs55 let semi: Option<Token![;]> = input.parse()?; in parse() localVariable
56 if semi.is_none() { in parse()
/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 …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantControlFlowCheck.cpp83 dyn_cast<Stmt>(*Previous)->getEndLoc(), tok::semi, SM, getLangOpts(), in issueDiagnostic()
89 StmtRange.getEnd(), tok::semi, SM, getLangOpts(), in issueDiagnostic()

12345678910>>...14