Commit Graph

1581 Commits

Author SHA1 Message Date
Vladiwostok 18b691370a
Use DMD in CyclomaticComplexityCheck (#85)
* Use DMD in CyclomaticComplexityCheck

* Simplify templated visit

* Keep old unit tests
2024-03-19 09:51:24 +02:00
Vladiwostok a3c473650b
Replace libdparse in IfElseSameCheck (#81)
* Fix & extend IfElseSameCheck

* Enable debug session

* Revert "Enable debug session"

This reverts commit e703fbe58db4c2def038b5473b5b127c4a3773d0.

* Replace common code with template

* Investigate failing workflows

* Revert "Investigate failing workflows"

This reverts commit 11e1dbf4935e492c18bb837611822df8bbb12efd.

* Remove check extension

* Trigger assign error only for the ternary operator

* Fix assignment error
2024-03-18 11:13:54 +02:00
Vladiwostok a805955768
Use DMD in NumberStyleCheck (#88)
* Replace libdparse with DMD in NumberStyleCheck

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

* Improve unit test
2024-03-05 10:53:12 +02:00
Vladiwostok 24f48edfc3
Update dmd to latest version (02d6d07a69280f8cc88380a682717bb67ca485fb) & fix checks using parens (#90)
* Update dmd module

* Fix checks using Expreesion.parens

* Update windows build
2024-03-05 10:46:04 +02:00
Vladiwostok 4301f6a67e
Delete DuplicateAttributeCheck (#79) 2024-02-22 11:40:22 +02:00
Eduard Staniloiu 2bf728f0eb Fix GDC build 2024-02-19 19:42:39 +02:00
Eduard Staniloiu 559d11884c Update build bat 2024-02-14 16:08:25 +02:00
Eduard Staniloiu 50175ae0e4 Fix style errors 2024-02-12 16:38:46 +02:00
Eduard Staniloiu 867fb1ead8 Update dub.json to latest dmd commit 2024-02-05 18:28:07 +02:00
Eduard Staniloiu 39afda0755 Disable integration tests due to autofix. Needs fixing 2024-02-05 18:23:53 +02:00
Eduard Staniloiu 05282adcdb Disable parens errors. Needs fixing 2024-02-05 18:13:37 +02:00
Eduard Staniloiu 16189b1dc6 Update dmd submodule reference 2024-02-05 17:35:53 +02:00
Eduard Staniloiu a71b406c26 Fix branch after rebase 2024-02-05 17:31:35 +02:00
Eduard Staniloiu e7fb552799 Fix branch after rebase 2024-01-29 18:00:16 +02:00
Vladiwostok 7f22d69b47 Use DMD in RedundantStorageClassCheck (#84) 2024-01-29 16:48:32 +02:00
Vladiwostok 28703e9304 Replace libdparse in AsmStyleCheck (#75) 2024-01-29 16:47:06 +02:00
Vladiwostok 467a1034a1 Add null terminator to string pointers (#77) 2024-01-29 16:45:51 +02:00
lucica28 c6b61cf1f0 replace libdparse in trust_too_much visitor (#70) 2024-01-29 16:45:49 +02:00
lucica28 e348cd5d01 delete float operator check (#71) 2024-01-29 16:43:50 +02:00
lucica28 73b8da8f67 replace libdparse in unused label check (#65) 2024-01-29 16:40:16 +02:00
lucica28 293a6a7a09 replace libdparse in exception check (#68) 2024-01-29 16:38:38 +02:00
lucica28 dd644fbfee replace libdparse in useless assert (#63) 2024-01-29 16:15:20 +02:00
lucica28 d9ee7c8203 replace libdparse in statif if else visitor (#56) 2024-01-29 16:09:51 +02:00
lucica28 50c4d3b9b6 replace libdparse in redundant parens check (#61) 2024-01-29 16:07:39 +02:00
lucica28 396bedcd10 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
2024-01-29 16:05:33 +02:00
lucica28 8750717321 replace libdparse in backwards range check (#58) 2024-01-29 15:38:46 +02:00
lucica28 5aaaee12c3 update dmd (#57) 2024-01-29 15:35:03 +02:00
lucica28 57601895f8 replace libdparse in builtin properties visitor (#52) 2024-01-29 15:34:59 +02:00
lucica28 8467cf3055 replace libdparse in logic precedence visitor (#54) 2024-01-29 15:33:05 +02:00
lucica28 e1639b4b10 replace libdparse in auto ref assignment (#51) 2024-01-29 15:31:30 +02:00
lucica28 710c184259 replace libparse in opequals without tohash visitor (#53) 2024-01-29 15:28:38 +02:00
lucica28 82bc26b7be replace libdpase in assert without msg visitor (#50) 2024-01-29 15:26:14 +02:00
lucica28 18a5a09a23 replace libdparse in local imports visitor (#45) 2024-01-29 15:16:16 +02:00
lucica28 1ce09a0cbd replace libdparse in constructor check (#43) 2024-01-29 15:14:31 +02:00
lucica28 00cbad301d update dmd (#48) 2024-01-24 14:43:34 +02:00
lucica28 7a017e049b replace libdparse in alias style visitor (#38) 2024-01-24 14:43:33 +02:00
lucica28 761778b3f4 replace libdparse in explicitly annotated unittests check (#44) 2024-01-24 14:35:27 +02:00
lucica28 dd1ab872c1 replace libdparse in length subtraction visitor (#42) 2024-01-24 14:29:46 +02:00
lucica28 1cf2f30c32 replace libdparse in redundant attributes visitor (#40) 2024-01-24 14:26:00 +02:00
lucica28 b4884e3a3a replace libdparse in imports sortedness visitor (#35)
* replace libdparse in imports sortedness visitor

* minor refactor
2024-01-24 13:53:35 +02:00
lucica28 34a051e6f9 update dmd (#39) 2024-01-24 13:50:44 +02:00
lucica28 8f625c2747 replace libparse in incorrect infinite range visitor (#33) 2024-01-24 13:50:42 +02:00
lucica28 e3cdf62ff3 update dmd (#37) 2024-01-24 13:46:20 +02:00
lucica28 16b69e503a replace libparse in final attribute visitor (#34) 2024-01-24 13:46:18 +02:00
Eduard Staniloiu 8351672c50 Fix version flags for gdc and ldc2 (#32) 2024-01-24 13:28:32 +02:00
lucica28 fa631b9d49 Update dmd (#25)
* update dmd

* update dmd
2024-01-24 13:28:32 +02:00
lucica28 3bb05474ce 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>
2024-01-24 13:28:32 +02:00
lucica28 664b9e25d5 replace libdparse in delete check (#21)
* replace libdparse in delete check

* delete comment
2024-01-24 13:28:29 +02:00
lucica28 34e4073105 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
2024-01-24 13:25:41 +02:00
Lucian Danescu 150643c4d3 Replace libdparse in enum array functionality 2024-01-24 13:14:35 +02:00