Skip to content

Commit

Permalink
Merge pull request #17617 from hvitved/rust/extraction-consistency
Browse files Browse the repository at this point in the history
Rust: Add extraction error consistency query
  • Loading branch information
hvitved authored Sep 30, 2024
2 parents a017f92 + 3e77dd8 commit 4513643
Show file tree
Hide file tree
Showing 24 changed files with 172 additions and 160 deletions.
18 changes: 9 additions & 9 deletions rust/ql/.generated.list

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions rust/ql/consistency-queries/ExtractionConsistency.ql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import codeql.rust.Diagnostics

query predicate extractionError(ExtractionError ee) { any() }
2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/elements/ExprStmt.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/elements/IfExpr.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions rust/ql/lib/codeql/rust/elements/PrefixExpr.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/elements/internal/ExprStmtImpl.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/ql/lib/codeql/rust/elements/internal/IfExprImpl.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions rust/ql/lib/codeql/rust/elements/internal/PrefixExprImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ module Impl {
/**
* A unary operation expression. For example:
* ```rust
* let x = -42
* let y = !true
* let z = *ptr
* let x = -42;
* let y = !true;
* let z = *ptr;
* ```
*/
class PrefixExpr extends Generated::PrefixExpr {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions rust/ql/lib/codeql/rust/elements/internal/generated/Raw.qll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4513643

Please sign in to comment.