Paolo Tranquilli
|
652e47177f
|
Rust: format
|
2024-10-25 17:44:16 +02:00 |
|
Simon Friis Vindum
|
7db90fe073
|
Merge pull request #17847 from paldepind/rust-unused-variable-trait
Rust: Don't consider parameters in trait method definitions without bodies as variables
|
2024-10-25 17:41:04 +02:00 |
|
Paolo Tranquilli
|
719b5e175f
|
Rust: add missing expected files
|
2024-10-25 17:06:54 +02:00 |
|
Paolo Tranquilli
|
8f6196d5f1
|
Rust: accept test changes
|
2024-10-25 16:58:05 +02:00 |
|
Paolo Tranquilli
|
9789059e9f
|
Rust: add more thourough canonical path testing
|
2024-10-25 16:58:05 +02:00 |
|
Paolo Tranquilli
|
34b1055c13
|
Rust: accept test changes
|
2024-10-25 16:58:04 +02:00 |
|
Paolo Tranquilli
|
194e0daa8c
|
Rust: add canonical_path and crate_origin to Item
|
2024-10-25 16:58:04 +02:00 |
|
Simon Friis Vindum
|
bfa6113366
|
Rust: Fix grammar in comment
Co-authored-by: Paolo Tranquilli <redsun82@github.com>
|
2024-10-25 16:23:04 +02:00 |
|
Simon Friis Vindum
|
f7a45e6650
|
Rust: Don't consider parameters in trait method definitions without bodies as variables
|
2024-10-25 15:56:58 +02:00 |
|
Simon Friis Vindum
|
a5ce3c1570
|
Rust: Move trait tests for unused entities into main.rs
|
2024-10-25 15:15:49 +02:00 |
|
Paolo Tranquilli
|
a760b89895
|
Rust: small tweaks
|
2024-10-25 14:13:27 +02:00 |
|
Paolo Tranquilli
|
5230b7b041
|
Rust: reduce log spam and skip debug diagnostics in the DB
|
2024-10-25 13:47:13 +02:00 |
|
Arthur Baars
|
f092594a52
|
Rust: add location definitions for format arguments
|
2024-10-25 12:57:08 +02:00 |
|
Arthur Baars
|
997a622496
|
Rust: also implement localReferences.ql
|
2024-10-25 12:57:06 +02:00 |
|
Paolo Tranquilli
|
45e9c2ff4d
|
Merge pull request #17841 from github/redsun82/rust-fix-qltest-macos
Rust: fix qltest on macOS, and add CI cross-platform testing of it
|
2024-10-25 12:56:23 +02:00 |
|
Tom Hvitved
|
ba600b0791
|
Merge pull request #17829 from hvitved/rust/cfg-stage
Rust: Collapse cached CFG logic into one stage
|
2024-10-25 12:45:38 +02:00 |
|
Arthur Baars
|
9dc5e2fa36
|
Merge pull request #17791 from github/aibaars/rust-format-templates
Rust: parse formatting templates
|
2024-10-25 12:42:35 +02:00 |
|
Paolo Tranquilli
|
4485193f57
|
Rust: skip output redirection QL test on windows for now
|
2024-10-25 12:33:47 +02:00 |
|
Arthur Baars
|
8d4bb97b1a
|
Rust: make VariableAccess non-abstract
|
2024-10-25 12:21:23 +02:00 |
|
Paolo Tranquilli
|
4e8b6dc038
|
Rust: fix qltest on macOS, and add CI cross-platform testing of it
|
2024-10-25 12:19:46 +02:00 |
|
Arthur Baars
|
a08b4b7372
|
Rust: allow VariableAccess elements to have another primary QL class
|
2024-10-25 11:02:55 +02:00 |
|
Arthur Baars
|
a6e69eb147
|
Revert "Rust: avoid classes with multiple getAPrimaryQLClass result"
This reverts commit 110d2ea775.
|
2024-10-25 10:59:31 +02:00 |
|
Simon Friis Vindum
|
334602a50a
|
Rust: Handle calls that might read/write variables through closures
This implementation is copied and adapted from the Ruby SSA
implementation.
|
2024-10-25 10:50:32 +02:00 |
|
Simon Friis Vindum
|
75103f4b26
|
Merge branch 'main' into rust-saa-additions
|
2024-10-25 10:43:59 +02:00 |
|
Paolo Tranquilli
|
55d092fd3e
|
Merge pull request #17835 from github/redsun82/rust-qltest
Rust: move `qltest` to rust code, add `options` with cargo check
|
2024-10-24 18:29:17 +02:00 |
|
Paolo Tranquilli
|
41d0085918
|
Rust: address review
|
2024-10-24 17:54:18 +02:00 |
|
Paolo Tranquilli
|
c79f8180f3
|
Rust: move down options in query-tests
|
2024-10-24 17:14:48 +02:00 |
|
Arthur Baars
|
bd19661b60
|
Address comments
|
2024-10-24 16:40:19 +02:00 |
|
Arthur Baars
|
a7628e7f4e
|
Rust: revert unnecessary changes to VariableImpl.qll
|
2024-10-24 15:19:01 +02:00 |
|
Arthur Baars
|
bad9262f12
|
Rust: create locations for Format and FormatArgument
|
2024-10-24 15:14:11 +02:00 |
|
Arthur Baars
|
017d492348
|
Rust: implement synthesized Locations
|
2024-10-24 15:14:10 +02:00 |
|
Arthur Baars
|
110d2ea775
|
Rust: avoid classes with multiple getAPrimaryQLClass result
|
2024-10-24 15:14:09 +02:00 |
|
Arthur Baars
|
ca469f6d5c
|
Rust: introduce PathExprBase class
|
2024-10-24 15:14:07 +02:00 |
|
Arthur Baars
|
2b65e78674
|
Rust: fix bad join order
|
2024-10-24 15:13:27 +02:00 |
|
Arthur Baars
|
a3b903f13a
|
Rust: simplify synth constructors
|
2024-10-24 15:13:25 +02:00 |
|
Arthur Baars
|
8843a7c389
|
Rust: rename {Implicit,FormatTemplate}VariableAccess
|
2024-10-24 15:13:24 +02:00 |
|
Arthur Baars
|
fc4ac9bcf8
|
Rust: implement Format and FormatArgument classes
|
2024-10-24 15:13:23 +02:00 |
|
Arthur Baars
|
58dfe6c667
|
Rust: run codegen
|
2024-10-24 15:13:22 +02:00 |
|
Arthur Baars
|
8d2236b6d6
|
Rust: define Format and FormatArgument in schema
|
2024-10-24 15:13:21 +02:00 |
|
Arthur Baars
|
d4b2dc3711
|
Apply suggestion
|
2024-10-24 15:13:20 +02:00 |
|
Arthur Baars
|
be41ca5d4e
|
Rust: update expected output
|
2024-10-24 15:13:19 +02:00 |
|
Arthur Baars
|
11396ef7cb
|
Rust: avoid multiple PrimaryQLClass warnings
Fixes things like:
```
multiplePrimaryQlClasses
| x | PathExpr,VariableAccess |
```
|
2024-10-24 15:13:17 +02:00 |
|
Arthur Baars
|
e1c315b288
|
Rust: make ImplicitVariableAccess instance of VariableAccess
|
2024-10-24 15:13:14 +02:00 |
|
Arthur Baars
|
1b7b24ecb8
|
Rust: add Locatable::hasLocationInfo
|
2024-10-24 15:11:02 +02:00 |
|
Arthur Baars
|
f213a2d640
|
Rust: CFG for ImplicitVariableAccess
|
2024-10-24 15:11:01 +02:00 |
|
Arthur Baars
|
8a5fa9b72f
|
Rust: add ImplicitVariableAccess class
|
2024-10-24 15:11:00 +02:00 |
|
Arthur Baars
|
8f2c7c1239
|
Rust: parse formatting templates
|
2024-10-24 15:10:59 +02:00 |
|
Tom Hvitved
|
09c3ac6f81
|
Rust: Collapse cached CFG logic into one stage
|
2024-10-24 14:58:19 +02:00 |
|
Paolo Tranquilli
|
3f8d438851
|
Rust: move qltest to rust code, add options with cargo check
|
2024-10-24 12:55:23 +02:00 |
|
Tom Hvitved
|
a3d8b8eb14
|
Rust: Run codegen
|
2024-10-23 15:31:08 +02:00 |
|