Geoffrey White
f60879bfb5
Rust: Rename missing -> unextracted.
2024-09-16 16:25:55 +01:00
Paolo Tranquilli
3eaee1249c
Merge pull request #17464 from geoffw0/loc
...
Rust: Add lines-of-code queries
2024-09-16 16:47:12 +02:00
Geoffrey White
3748365729
Rust: Comment out the printlin! macro invocations for now.
2024-09-16 15:29:13 +01:00
Geoffrey White
63a635c89c
Revert "Rust: Restrict the query to user code."
...
This reverts commit aed44ba5f3 .
2024-09-16 13:46:43 +01:00
Geoffrey White
7a21b3ba46
Rust: Accept the new results.
2024-09-16 13:42:18 +01:00
Geoffrey White
4656b3a43d
Revert "Rust: Only test the 'user code' queries, as the non-user stuff is not stable between platforms."
...
This reverts commit 00b9647aa1 .
2024-09-16 13:39:50 +01:00
Geoffrey White
aed44ba5f3
Rust: Restrict the query to user code.
2024-09-16 12:56:06 +01:00
Tom Hvitved
4dd3059f16
Rust: Run code generator
2024-09-16 13:39:55 +02:00
Geoffrey White
fb6fbf6d21
Rust: Repair after Unimplemented.getLocation was removed.
2024-09-16 12:06:51 +01:00
Geoffrey White
00b9647aa1
Rust: Only test the 'user code' queries, as the non-user stuff is not stable between platforms.
2024-09-16 11:49:27 +01:00
Simon Friis Vindum
c62c397cda
Merge branch 'main' into rust-improve-cfg
2024-09-16 10:34:15 +02:00
Arthur Baars
ab4788a2ce
Merge branch 'main' into missing
2024-09-16 09:50:56 +02:00
Arthur Baars
762bf87663
Merge branch 'main' into loc
2024-09-16 09:50:48 +02:00
Geoffrey White
36f54cc6c9
Rust: Clean up the query output.
2024-09-13 19:18:03 +01:00
Geoffrey White
551c4e83f4
Rust: Improve getNumberOfLinesOfCode (in particular, it will now include the closing of blocks { } ).
2024-09-13 18:23:11 +01:00
Geoffrey White
d21cbe57aa
Merge branch 'main' into loc
2024-09-13 17:55:09 +01:00
Arthur Baars
90537f9132
Fix other QL code
...
This reverts commit 5c02fb4a2e .
2024-09-13 18:47:10 +02:00
Geoffrey White
57eafb81c7
Rust: Update results for changes on main.
2024-09-13 17:40:44 +01:00
Arthur Baars
3fdc49c4cb
Rename Literal, Type, and BinExpr
2024-09-13 18:33:55 +02:00
Geoffrey White
81aeb3b755
Merge branch 'main' into missing
2024-09-13 17:33:46 +01:00
Arthur Baars
ebe1e5e0d2
Fix locations for Path and LiteralOrConstPat
2024-09-13 18:23:39 +02:00
Arthur Baars
661a4e07be
Merge remote-tracking branch 'upstream/main' into aibaars/rust-doc-tests
2024-09-13 17:31:38 +02:00
Paolo Tranquilli
5108799224
Merge pull request #17448 from github/redsun82/rust-std-files
...
Rust: integrate into standard files+location library
2024-09-13 16:23:25 +02:00
Geoffrey White
a3de3a1c51
Rust: Update results for latest main.
2024-09-13 15:10:38 +01:00
Geoffrey White
af7cd238e5
Rust: Test query for missing elements.
2024-09-13 15:09:18 +01:00
Geoffrey White
6e01270fec
Rust: Better (still incomplete) results on latest main.
2024-09-13 15:06:22 +01:00
Geoffrey White
fdf079265d
Rust: Add test.
2024-09-13 15:05:20 +01:00
Geoffrey White
6e9f2a3b61
Rust: Add tests.
2024-09-13 15:05:18 +01:00
Arthur Baars
d73d90dba2
Avoid use of plain 'None' in tests
...
For some reason the parser resolves the ambiguity between None as a PathPat or IdentPat
differently on the Action runners vs local machine.
2024-09-13 12:48:58 +02:00
Arthur Baars
5c02fb4a2e
Fix CFG library
2024-09-13 11:41:21 +02:00
Arthur Baars
e46ad61bb8
Update test data
2024-09-13 11:16:25 +02:00
Arthur Baars
d99c2031ac
Workaround nameclash in dbscheme generator
2024-09-13 11:07:02 +02:00
Geoffrey White
587ebbffba
Rust: Edit test slightly to avoid DBCheck failure.
2024-09-13 10:02:28 +01:00
Arthur Baars
fa9cfc1104
Regenerate code
2024-09-13 10:52:43 +02:00
Arthur Baars
452424a0d2
Fix tests for Path and TypeRef
2024-09-13 10:25:36 +02:00
Arthur Baars
085aad3b3c
Update test data
2024-09-13 10:22:01 +02:00
Arthur Baars
197fb04184
Improve docs
2024-09-13 10:16:34 +02:00
Arthur Baars
c825ae4eab
Add some examples for some of the unimplemented nodes
2024-09-12 22:18:02 +02:00
Arthur Baars
8e378d86df
Update test data
2024-09-12 22:18:00 +02:00
Arthur Baars
7572546efa
Improve handling of unimplemented nodes
2024-09-12 22:17:39 +02:00
Arthur Baars
69761a2942
Rust: AST: add docs with examples for qltest
2024-09-12 19:54:37 +02:00
Arthur Baars
2a88086544
Rust: AST: add docs with examples for qltest
2024-09-12 17:58:15 +02:00
Simon Friis Vindum
e1f2fa8c7e
Rust: Support break and continue in loops
2024-09-12 14:07:43 +02:00
Geoffrey White
f77c79593e
Rust: Updated expected for changes on main.
2024-09-12 12:46:04 +01:00
Geoffrey White
9d8b514b5c
Merge remote-tracking branch 'upstream/main' into files
2024-09-12 12:29:44 +01:00
Paolo Tranquilli
b4b680775c
Rust: integrate into standard files+location library
2024-09-12 13:17:10 +02:00
Simon Friis Vindum
67a06cb772
Rust: Support loop in CFG
2024-09-12 09:29:19 +02:00
Paolo Tranquilli
aeae922ef3
Rust: make ql tests extract files together
...
For the moment this removes the possibility to set custom flags or env
variables for the extractor via comments, but that can be added back
easily if needed with a different mechanism (like an `env` file).
2024-09-12 09:13:35 +02:00
Geoffrey White
c2e86423b9
Rust: Test the successfully extracted files diagnostic.
2024-09-11 17:10:08 +01:00
Geoffrey White
f1d281ffcc
Rust: Add test cases for diagnostics.
2024-09-11 17:10:07 +01:00