Commit Graph

1588 Commits

Author SHA1 Message Date
Vladiwostok 8b7612d76a Use DMD in NumberStyleCheck (#88)
* Replace libdparse with DMD in NumberStyleCheck

* Fix re-lexing for windows (CRLF terminators) files

* Improve unit test
2025-01-12 16:21:58 +02:00
Vladiwostok 860ddf1994 Update dmd to latest version (02d6d07a69280f8cc88380a682717bb67ca485fb) & fix checks using parens (#90)
* Update dmd module

* Fix checks using Expreesion.parens

* Update windows build
2025-01-12 16:21:57 +02:00
Vladiwostok 24f7754fef Delete DuplicateAttributeCheck (#79) 2025-01-12 16:21:56 +02:00
Eduard Staniloiu fb27453d95 Fix GDC build 2025-01-12 16:21:56 +02:00
Eduard Staniloiu c93bef3315 Update build bat 2025-01-12 16:21:56 +02:00
Eduard Staniloiu ede1ac295d Fix style errors 2025-01-12 16:21:56 +02:00
Eduard Staniloiu 75efd94ccd Update dub.json to latest dmd commit 2025-01-12 16:21:56 +02:00
Eduard Staniloiu 5a51d79d9a Disable integration tests due to autofix. Needs fixing 2025-01-12 16:21:56 +02:00
Eduard Staniloiu 9b9dae8ce8 Disable parens errors. Needs fixing 2025-01-12 16:21:56 +02:00
Eduard Staniloiu 215faa4858 Update dmd submodule reference 2025-01-12 16:21:56 +02:00
Eduard Staniloiu 6b00b2e2ab Fix branch after rebase 2025-01-12 16:21:56 +02:00
Eduard Staniloiu b60171f00d Fix branch after rebase 2025-01-12 16:21:56 +02:00
Vladiwostok 274d0b301d Use DMD in RedundantStorageClassCheck (#84) 2025-01-12 16:21:54 +02:00
Vladiwostok 9250d2dc98 Replace libdparse in AsmStyleCheck (#75) 2025-01-12 16:21:51 +02:00
Vladiwostok fdab43bee7 Add null terminator to string pointers (#77) 2025-01-12 16:21:51 +02:00
lucica28 3bd9b5c8cd replace libdparse in trust_too_much visitor (#70) 2025-01-12 16:21:51 +02:00
lucica28 593b9c5d88 delete float operator check (#71) 2025-01-12 16:21:51 +02:00
lucica28 aa2e2d933e replace libdparse in unused label check (#65) 2025-01-12 16:21:49 +02:00
lucica28 e88ba52754 replace libdparse in exception check (#68) 2025-01-12 16:21:48 +02:00
lucica28 6a832f4411 replace libdparse in useless assert (#63) 2025-01-12 16:21:48 +02:00
lucica28 60fd082eb1 replace libdparse in statif if else visitor (#56) 2025-01-12 16:21:48 +02:00
lucica28 235e9d0884 replace libdparse in redundant parens check (#61) 2025-01-12 16:21:48 +02:00
lucica28 cb432bc651 update dmd and include the API needed for semantic analysis (#66)
* update dmd and include the API needed for semantic analysis

* update libparse + initial implementation for properly documented public functions

* test

* refactor

* update workflows

* delete unused code
2025-01-12 16:21:48 +02:00
lucica28 b90a8620ce replace libdparse in backwards range check (#58) 2025-01-12 16:21:48 +02:00
lucica28 c6f2134033 update dmd (#57) 2025-01-12 16:21:48 +02:00
lucica28 d07ac30c6f replace libdparse in builtin properties visitor (#52) 2025-01-12 16:21:48 +02:00
lucica28 da10937067 replace libdparse in logic precedence visitor (#54) 2025-01-12 16:21:48 +02:00
lucica28 7faa2cbae3 replace libdparse in auto ref assignment (#51) 2025-01-12 16:21:48 +02:00
lucica28 00eaef95b6 replace libparse in opequals without tohash visitor (#53) 2025-01-12 16:21:48 +02:00
lucica28 e6af600921 replace libdpase in assert without msg visitor (#50) 2025-01-12 16:21:48 +02:00
lucica28 a3a5982e2c replace libdparse in local imports visitor (#45) 2025-01-12 16:21:46 +02:00
lucica28 010ac1d3b7 replace libdparse in constructor check (#43) 2025-01-12 16:21:45 +02:00
lucica28 172c706346 update dmd (#48) 2025-01-12 16:21:45 +02:00
lucica28 07f97fb4c5 replace libdparse in alias style visitor (#38) 2025-01-12 16:21:45 +02:00
lucica28 65720ab41f replace libdparse in explicitly annotated unittests check (#44) 2025-01-12 16:21:45 +02:00
lucica28 50e992c219 replace libdparse in length subtraction visitor (#42) 2025-01-12 16:21:44 +02:00
lucica28 bf0c847384 replace libdparse in redundant attributes visitor (#40) 2025-01-12 16:21:43 +02:00
lucica28 bb16676c98 replace libdparse in imports sortedness visitor (#35)
* replace libdparse in imports sortedness visitor

* minor refactor
2025-01-12 16:21:43 +02:00
lucica28 fd2011ecf5 update dmd (#39) 2025-01-12 16:21:43 +02:00
lucica28 a3efa880e8 replace libparse in incorrect infinite range visitor (#33) 2025-01-12 16:21:43 +02:00
lucica28 5ddffd8d0e update dmd (#37) 2025-01-12 16:21:43 +02:00
lucica28 c63616f1d4 replace libparse in final attribute visitor (#34) 2025-01-12 16:21:43 +02:00
Eduard Staniloiu 02ff1024b8 Fix version flags for gdc and ldc2 (#32) 2025-01-12 16:21:43 +02:00
lucica28 092d89c46a Update dmd (#25)
* update dmd

* update dmd
2025-01-12 16:21:43 +02:00
lucica28 ca7d52f5d7 Update dmd (#23)
* Update README

* Add dmd-as-a-library submodule (#2)

* Add GH Actions build script (#4)

* Removed libdparse from imports print functionality (#3)

* Fix failing tester + add unittest for imports (#7)

* Add style checker (#9)

* Update action to build dlang fork

* Fix linter errors

* Add dmd dependencies to dub.json

* Add dmd dependencies to build.bat

* Replace libdparse in enum array functionality

* replace libdparse in objectconst functionality + unittests integration with dmd (#17)

* replace libdparse in objectconst functionality + unittests integration with dmd

* updated dmd

* run tests

* use templates

* visit aggregate declaration

* updated dmd

* solve linter seg fault

* get rid of dup + refactor

* fix typo

* update dmd to latest version

Co-authored-by: RazvanN7 <razvan.nitu1305@gmail.com>
Co-authored-by: Eduard Staniloiu <edi33416@gmail.com>
2025-01-12 16:21:43 +02:00
lucica28 6ae996fea6 replace libdparse in delete check (#21)
* replace libdparse in delete check

* delete comment
2025-01-12 16:21:42 +02:00
lucica28 500f3b30ea replace libdparse in objectconst functionality + unittests integration with dmd (#17)
* replace libdparse in objectconst functionality + unittests integration with dmd

* updated dmd

* run tests

* use templates

* visit aggregate declaration

* updated dmd

* solve linter seg fault

* get rid of dup + refactor

* fix typo
2025-01-12 16:21:38 +02:00
Lucian Danescu acf6814258 Replace libdparse in enum array functionality 2025-01-12 16:21:34 +02:00
Eduard Staniloiu 2ca0abbb82 Add dmd dependencies to build.bat 2025-01-12 16:20:19 +02:00
Eduard Staniloiu 8cf2cef54b Add dmd dependencies to dub.json 2025-01-12 16:20:19 +02:00