Arthur Baars
|
1c0f60fa2e
|
Rust: lines of code, exclude 'SourceFile' node
|
2024-09-19 13:00:52 +02:00 |
|
Arthur Baars
|
24f24855f0
|
Rust: update expected output
|
2024-09-19 13:00:51 +02:00 |
|
Arthur Baars
|
e19bca0de8
|
Rust: remove queries that no longer work
|
2024-09-19 13:00:50 +02:00 |
|
Arthur Baars
|
c3b10bf90b
|
Rust: patch cfg implementation
|
2024-09-19 13:00:49 +02:00 |
|
Arthur Baars
|
80d32a2333
|
Rust: re-generate code
|
2024-09-19 13:00:46 +02:00 |
|
Arthur Baars
|
9104c3fc81
|
Rust: re-generate schema and extractor
|
2024-09-19 13:00:45 +02:00 |
|
Arthur Baars
|
1f30d5f41b
|
Rust: generate schema.py and extractor from ungrammar
|
2024-09-19 13:00:05 +02:00 |
|
Arthur Baars
|
61ac8d66f5
|
Rust: make things compile
|
2024-09-19 10:51:52 +02:00 |
|
Arthur Baars
|
fabdb3c841
|
Rust: copy files from rust-analyzer's codegenerator
Files copied from: 50882fbfa2/xtask/src/codegen/grammar
|
2024-09-19 10:51:51 +02:00 |
|
Arthur Baars
|
5ccb45e7d3
|
Rust: add rust.ungram
Copied from 50882fbfa2/crates/syntax/rust.ungram
|
2024-09-19 10:51:46 +02:00 |
|
Arthur Baars
|
d5c0d41f98
|
Rust: add generate-schema project
|
2024-09-19 10:51:44 +02:00 |
|
Paolo Tranquilli
|
9a8d9f857f
|
Merge pull request #17491 from github/redsun82/rust-integration-test
Rust: add basic integration tests and fix archiving on Windows
|
2024-09-19 05:25:14 +02:00 |
|
Simon Friis Vindum
|
e43d39a0fe
|
Merge pull request #17508 from paldepind/rust-consistency-queries-pack
Rust: Add consistency-queries pack
|
2024-09-18 14:17:52 +02:00 |
|
Simon Friis Vindum
|
7c2b149728
|
Rust: Add consistency-queries pack
|
2024-09-18 14:09:41 +02:00 |
|
Geoffrey White
|
2769bd6f35
|
Rust: Make the placeholder queries produce no results, to avoid confusion.
|
2024-09-18 13:07:31 +01:00 |
|
Geoffrey White
|
3632a76eaf
|
Rust: Add test annotations.
|
2024-09-18 13:05:06 +01:00 |
|
Geoffrey White
|
d79aa073ea
|
Rust: Clean up the UnusedValue examples.
|
2024-09-18 13:03:09 +01:00 |
|
Geoffrey White
|
463a1254d3
|
Update rust/ql/src/queries/unusedentities/UnusedValueBad.rs
Co-authored-by: Paolo Tranquilli <redsun82@github.com>
|
2024-09-18 12:55:11 +01:00 |
|
Simon Friis Vindum
|
bbf5902b18
|
Rust: Tweak imports
|
2024-09-18 13:48:50 +02:00 |
|
Tom Hvitved
|
43c0bd36be
|
Rust: Run code generator
|
2024-09-18 13:48:02 +02:00 |
|
Tom Hvitved
|
5554c0f28f
|
Rust: Use ```rust for code block examples
Also added some missing code block terminators.
|
2024-09-18 13:47:45 +02:00 |
|
Simon Friis Vindum
|
6f555f3ad7
|
Merge branch 'main' into rust-improve-cfg
|
2024-09-18 13:42:51 +02:00 |
|
Simon Friis Vindum
|
db351bdb05
|
Rust: Align test output with CI
|
2024-09-18 10:50:26 +02:00 |
|
Tom Hvitved
|
18ae8b14e9
|
Rust: Use elements/internal/generated instead of internal/generated
|
2024-09-18 10:44:20 +02:00 |
|
Paolo Tranquilli
|
c53179f742
|
Merge pull request #17499 from geoffw0/morestats
Rust: Add more summary stats.
|
2024-09-18 10:43:20 +02:00 |
|
Tom Hvitved
|
c5cbf82dbf
|
Merge pull request #17495 from hvitved/codegen/internal
Codegen: Create `internal` folders
|
2024-09-18 10:42:04 +02:00 |
|
Simon Friis Vindum
|
dd25b3ecbe
|
Rust: Don't use macro in test and add documentation string
|
2024-09-18 10:10:27 +02:00 |
|
Simon Friis Vindum
|
c18c35d737
|
Merge branch 'main' into rust-improve-cfg
|
2024-09-18 09:51:16 +02:00 |
|
Simon Friis Vindum
|
6a5a50521b
|
Rust: Address QL suggestions for CFG implementation
|
2024-09-18 09:49:59 +02:00 |
|
Tom Hvitved
|
9ea63fe716
|
Rust: Run code generator
|
2024-09-17 20:06:38 +02:00 |
|
Geoffrey White
|
83376afd15
|
Rust: Improve layout locality in summary stats.
|
2024-09-17 17:45:09 +01:00 |
|
Geoffrey White
|
07fccf8064
|
Rust: Add extracted + unextracted elements to summary stats.
|
2024-09-17 17:42:50 +01:00 |
|
Geoffrey White
|
6ebc615fd4
|
Rust: Add extracted files to summary stats.
|
2024-09-17 17:36:43 +01:00 |
|
Geoffrey White
|
a2bf2c7edb
|
Rust: Fix query result columns.
|
2024-09-17 16:53:02 +01:00 |
|
Simon Friis Vindum
|
7a369f8734
|
Rust: Update CFG test and expected output
|
2024-09-17 17:34:11 +02:00 |
|
Simon Friis Vindum
|
73a430bd18
|
Merge branch 'main' into rust-improve-cfg
|
2024-09-17 17:31:10 +02:00 |
|
Geoffrey White
|
1c7d5217a0
|
Rust: Autoformat.
|
2024-09-17 16:24:28 +01:00 |
|
Geoffrey White
|
f93fd7cd6b
|
Rust: Add qhelp and example for the unused variable query.
|
2024-09-17 16:13:25 +01:00 |
|
Geoffrey White
|
68f8e17186
|
Rust: Add a placeholder query + tests for unused variables query.
|
2024-09-17 16:13:23 +01:00 |
|
Geoffrey White
|
b7ad331b75
|
Rust: Add qhelp and example for the unused values query.
|
2024-09-17 16:13:22 +01:00 |
|
Geoffrey White
|
1fc6a0e103
|
Rust: Add placeholder query + tests for unused values query.
|
2024-09-17 16:13:21 +01:00 |
|
Simon Friis Vindum
|
6e868c2a6d
|
Rust: CFG edges for break and continue with labels
|
2024-09-17 17:11:28 +02:00 |
|
Paolo Tranquilli
|
56f2732bbb
|
Rust: ignore failing DB-CHECK
|
2024-09-17 15:35:52 +02:00 |
|
Paolo Tranquilli
|
5432493945
|
Rust: log detected manifests
|
2024-09-17 15:35:26 +02:00 |
|
Simon Friis Vindum
|
581d0c59c4
|
Rust: Handle more AST nodes in the CFG
|
2024-09-17 13:05:27 +02:00 |
|
Paolo Tranquilli
|
89a8cbc536
|
Rust: use shared path utilities
|
2024-09-17 12:27:57 +02:00 |
|
Simon Friis Vindum
|
22edece201
|
Rust: Add CFG construction for if let expressions
|
2024-09-17 11:26:45 +02:00 |
|
Paolo Tranquilli
|
aae33db137
|
Rust: add basic integration tests
This adds testing of well-formed rust projects and workspaces, using
both `Cargo.toml` and `rust-project.json` manifests.
|
2024-09-17 11:23:39 +02:00 |
|
Paolo Tranquilli
|
afb9ffa50e
|
Rust: add windows tools
|
2024-09-17 11:22:32 +02:00 |
|
Simon Friis Vindum
|
20e968751c
|
Rust: Handle let statements with pattern and else branch in CFG
|
2024-09-17 10:54:48 +02:00 |
|