Paolo Tranquilli
|
3f8d438851
|
Rust: move qltest to rust code, add options with cargo check
|
2024-10-24 12:55:23 +02:00 |
|
Simon Friis Vindum
|
85e59c9920
|
Merge branch 'main' into rust-saa-additions
|
2024-10-21 13:30:02 +02:00 |
|
Simon Friis Vindum
|
a1ebf98552
|
Merge branch 'main' into rust-cfg-fixes
|
2024-10-21 10:12:07 +02:00 |
|
Simon Friis Vindum
|
3ae04752c4
|
Rust: Accept less CFG inconsistencies
|
2024-10-21 10:07:11 +02:00 |
|
Simon Friis Vindum
|
9c172f62a4
|
Rust: Fix dead end in CFG for match expressions with no arms
|
2024-10-21 09:59:23 +02:00 |
|
Simon Friis Vindum
|
381f061e7f
|
Rust: Add CFG test for match with no arms
|
2024-10-21 09:29:28 +02:00 |
|
Simon Friis Vindum
|
4ddc7a4592
|
Rust: Update unused value expected results
|
2024-10-18 15:49:52 +02:00 |
|
Simon Friis Vindum
|
b665f45ffa
|
Merge branch 'main' into unreachable2
|
2024-10-18 15:13:40 +02:00 |
|
Simon Friis Vindum
|
28f111b7c0
|
Rust: Remove erroneous CFG edge from return to break
|
2024-10-18 13:26:11 +02:00 |
|
Simon Friis Vindum
|
4ca6b0eceb
|
Rust: Add a CFG test for a return within a break
|
2024-10-18 13:22:39 +02:00 |
|
Simon Friis Vindum
|
7aa28a0449
|
Rust: Fix multiple CFG successors in range pattern without lower bound
|
2024-10-18 11:19:21 +02:00 |
|
Simon Friis Vindum
|
b0625f83c6
|
Rust: Add CFG test of range patterns
|
2024-10-18 11:19:19 +02:00 |
|
Simon Friis Vindum
|
272d12fee1
|
Rust: Step correctly over method arguments
Previously the math was wrong and the first argument (with `i` being `0`) had two edges out of it.
|
2024-10-18 11:19:07 +02:00 |
|
Arthur Baars
|
6e197b5802
|
Merge pull request #17773 from geoffw0/unusedval2
Rust: Implement UnusedValue.ql (2)
|
2024-10-17 21:03:24 +02:00 |
|
Geoffrey White
|
e1aaa136b2
|
Rust: Add variants with pattern matching for unreachable_let_1 and 2.
|
2024-10-17 15:38:47 +01:00 |
|
Geoffrey White
|
3d0c86e176
|
Rust: Test spacing.
|
2024-10-17 15:37:03 +01:00 |
|
Simon Friis Vindum
|
b2032fc6fd
|
Rust: Only normal completion of a let statement initializer steps to the pattern
|
2024-10-17 16:28:57 +02:00 |
|
Simon Friis Vindum
|
e6f1edcbb5
|
Rust: Conditional completion of match arm expression should now flow to next arm
|
2024-10-17 16:25:19 +02:00 |
|
Simon Friis Vindum
|
04f2062942
|
Rust: Label the non-return CFG edge out of question mark as match
|
2024-10-17 16:22:07 +02:00 |
|
Simon Friis Vindum
|
fd5d6255c1
|
Rust: Avoid creating CFG scopes for trait signatures without implementations
|
2024-10-17 16:20:30 +02:00 |
|
Simon Friis Vindum
|
b0cd44e47f
|
Rust: Add CFG test cases
|
2024-10-17 16:09:17 +02:00 |
|
Simon Friis Vindum
|
2d1c62b6df
|
Rust: Fix dead end in CFG for empty tuple and struct patterns
|
2024-10-17 10:40:34 +02:00 |
|
Simon Friis Vindum
|
b97ec405d0
|
Rust: Add CFG tests with empty tuple and struct patterns
|
2024-10-17 10:34:49 +02:00 |
|
Geoffrey White
|
e21959d7bb
|
Rust: Add more unreachable test cases.
|
2024-10-16 17:34:57 +01:00 |
|
Geoffrey White
|
a92de0df93
|
Rust: Test spacing.
|
2024-10-16 16:56:12 +01:00 |
|
Geoffrey White
|
7e2542bd74
|
Rust: Accept consistency check failures.
|
2024-10-16 14:32:16 +01:00 |
|
Geoffrey White
|
7d62cdad71
|
Merge pull request #17774 from geoffw0/astcount
Rust: Count number of AST inconsistencies
|
2024-10-16 14:17:39 +01:00 |
|
Simon Friis Vindum
|
76e1885355
|
Rust: Make mutable variables that are only borrowed immutably amenable for SSA
|
2024-10-16 15:07:46 +02:00 |
|
Simon Friis Vindum
|
577afc3fd5
|
Rust: Support capture of mutable variables in SSA
|
2024-10-16 14:57:46 +02:00 |
|
Simon Friis Vindum
|
a1db359ba1
|
Rust: Add variable tests involving borrowing and capture
|
2024-10-16 13:05:53 +02:00 |
|
Geoffrey White
|
4577d1ce06
|
Rust: Additional test cases.
|
2024-10-16 11:38:30 +01:00 |
|
Geoffrey White
|
5b667026cb
|
Rust: More fixup after some line numbers changed.
|
2024-10-15 16:17:03 +01:00 |
|
Geoffrey White
|
f9eca42ded
|
Merge pull request #17763 from geoffw0/cfgcount3
Rust: Count number of CFG inconsistencies
|
2024-10-15 15:43:39 +01:00 |
|
Geoffrey White
|
2a68d3e46e
|
Rust: Put Yes, No back in the logical order.
|
2024-10-15 15:31:34 +01:00 |
|
Geoffrey White
|
84a74d910d
|
Rust: Fixup after merging main.
|
2024-10-15 15:24:43 +01:00 |
|
Tom Hvitved
|
88f6d3b5ea
|
Rust: Implement UnusedValue.ql
|
2024-10-15 15:05:39 +01:00 |
|
Geoffrey White
|
e8953fb5e4
|
Rust: Add diagnostic query for AST inconsistency counts.
|
2024-10-15 14:19:43 +01:00 |
|
Geoffrey White
|
e01ecd1b79
|
Rust: Calculate a total of AST inconsistencies.
|
2024-10-15 14:19:42 +01:00 |
|
Paolo Tranquilli
|
1d9767a163
|
Merge pull request #17770 from github/redsun82/rust-callable-base
Rust: Add `Callable` as a base class of `Function` and `ClosureExpr`
|
2024-10-15 15:00:59 +02:00 |
|
Paolo Tranquilli
|
248eb7f00c
|
Merge branch 'main' into rust/callable-base
|
2024-10-15 11:03:11 +02:00 |
|
Geoffrey White
|
7d9a3e1399
|
Merge pull request #17756 from geoffw0/unusedvar6
Rust: More test cases for rust/unused-variable
|
2024-10-15 10:02:37 +01:00 |
|
Geoffrey White
|
5e33d9a145
|
Rust: Further changes from code review.
|
2024-10-15 09:38:17 +01:00 |
|
Geoffrey White
|
8169ccd21e
|
Apply suggestions from code review
Co-authored-by: Simon Friis Vindum <paldepind@github.com>
|
2024-10-15 09:36:09 +01:00 |
|
Simon Friis Vindum
|
cc1e33fb64
|
Merge pull request #17713 from hvitved/rust/ssa
Rust: Initial SSA implementation
|
2024-10-15 09:59:48 +02:00 |
|
Geoffrey White
|
57875554f4
|
Rust: Accept consistency failures in the new test cases.
|
2024-10-14 17:06:55 +01:00 |
|
Geoffrey White
|
e5885f65db
|
Rust: Add more test cases for unused variables and unreachable code.
|
2024-10-14 16:25:18 +01:00 |
|
Geoffrey White
|
528641c55a
|
Rust: Test spacing.
|
2024-10-14 16:25:17 +01:00 |
|
Geoffrey White
|
134539060d
|
Rust: correct some 'spurious' annotations that are off by one line.
|
2024-10-14 16:24:44 +01:00 |
|
Geoffrey White
|
25b592fc89
|
Merge pull request #17744 from geoffw0/unusedvar5
Rust: Unused variable follow-up work
|
2024-10-14 16:20:52 +01:00 |
|
Simon Friis Vindum
|
8e4e663739
|
Rust: Handle question mark operator in CFG
|
2024-10-14 11:38:35 +02:00 |
|