Skip to content

Commit 38a572d

Browse files
committed
Rust: Run codegen
1 parent a707527 commit 38a572d

File tree

20 files changed

+55
-61
lines changed

20 files changed

+55
-61
lines changed

rust/ql/.generated.list

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/controlflow/internal/generated/CfgNodes.qll

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/CallExpr.qll

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/MethodCallExpr.qll

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/TupleField.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/TupleFieldList.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/lib/codeql/rust/elements/internal/CallExprImpl.qll

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@ module Impl {
2727

2828
// the following QLdoc is generated: if you need to edit it, do it in the schema file
2929
/**
30-
* NOTE: Consider using `Call` instead, as that includes all kinds of calls to
31-
* functions, and excludes instantiations of tuple structs and tuple enum variants.
30+
* NOTE: Consider using `Call` instead, as that excludes call expressions that are
31+
* instantiations of tuple structs and tuple variants.
3232
*
3333
* A call expression. For example:
3434
* ```rust
3535
* foo(42);
3636
* foo::<u32, u64>(42);
3737
* foo[0](42);
38-
* foo(1) = 4;
39-
* Option::Some(42); // tuple enum variant instantiation
38+
* Option::Some(42); // tuple variant instantiation
4039
* ```
4140
*/
4241
class CallExpr extends Generated::CallExpr, ArgsExprImpl::ArgsExpr {

rust/ql/lib/codeql/rust/elements/internal/MethodCallExprImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ module Impl {
1818
// the following QLdoc is generated: if you need to edit it, do it in the schema file
1919
/**
2020
* NOTE: Consider using `MethodCall` instead, as that also includes calls to methods using
21-
* function call syntax (such as `Foo::method(x)`), operator calls (such as `x + y`), and
22-
* indexing calls (such as `x[y]`).
21+
* call syntax (such as `Foo::method(x)`), operation syntax (such as `x + y`), and
22+
* indexing syntax (such as `x[y]`).
2323
*
2424
* A method call expression. For example:
2525
* ```rust

rust/ql/lib/codeql/rust/elements/internal/TupleFieldImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module Impl {
1515

1616
// the following QLdoc is generated: if you need to edit it, do it in the schema file
1717
/**
18-
* A field in a tuple struct or tuple enum variant.
18+
* A field in a tuple struct or tuple variant.
1919
*
2020
* For example:
2121
* ```rust

rust/ql/lib/codeql/rust/elements/internal/TupleFieldListImpl.qll

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)