Vladiwostok
99dcc4b794
Replace libdparse in UnusedResultChecker ( #80 )
...
* Replace libdparse with DMD in UnusedResultChecker
* Run semantic analysis in unit test
* Add more unit tests
* Remove debug prints
* Fix no return test
* Remove semantic analysis
2025-08-29 13:16:44 +03:00
Vladiwostok
aece8d2bab
Replace libdparse with DMD in LineLengthCheck ( #134 )
...
* Replace libdparse with DMD in LineLengthCheck
* Fix windows line counting
* Fix gdc compilation
2025-08-29 13:16:44 +03:00
Vladiwostok
8d7196ae07
Replace libdparse with DMD in HasPublicExampleCheck ( #130 )
2025-08-29 13:16:44 +03:00
Vladiwostok
c0cb2cf18f
Replace libdparse with DMD in UselessInitializerChecker ( #121 )
...
* Replace libdparse with DMD in UselessInitializerChecker
* Address feedback
2025-08-29 13:16:44 +03:00
Vladiwostok
ab17df9a57
Replace libdparse with DMD in BodyOnDisabledFuncsCheck ( #127 )
...
* Replace libdparse with DMD in BodyOnDisabledFuncsCheck
* Address feedback
2025-08-29 13:16:44 +03:00
Vladiwostok
a232713df4
Replace libdparse with DMD in UnmodifiedFinder ( #117 )
2025-08-29 13:16:44 +03:00
Vladiwostok
16af24d14f
Replace libdparse with DMD in UnusedVariableCheck ( #119 )
2025-08-29 13:16:44 +03:00
Vladiwostok
9c3859760a
Replace libdparse with DMD in UnusedParameterCheck ( #116 )
...
* Replace libdparse with DMD in UnusedParameterCheck
* Add workaround for gdc-12 compilation
2025-08-29 13:16:44 +03:00
Vladiwostok
026eb8bef1
Update dmd to latest version (b02f7183804f583776db69c1d8b355671e306216) ( #138 )
...
* Disable macOS debug session
* Update dmd to latest version (b02f7183804f583776db69c1d8b355671e306216)
2025-08-29 13:16:44 +03:00
Vladiwostok
2f7e13579c
Fix github actions for macos ( #135 )
...
* Fix github actions for macos
* Enable macos debugging session
2025-08-29 13:16:44 +03:00
Vladiwostok
af525da448
Replace libdparse with DMD in AutoFunctionChecker ( #103 )
2025-08-29 13:16:44 +03:00
Vladiwostok
a9f1348cd4
Replace libdparse with DMD in StyleChecker ( #111 )
2025-08-29 13:16:44 +03:00
Vladiwostok
9fd84a0bee
Replace libdparse with DMD in AlwaysCurlyCheck ( #109 )
2025-08-29 13:16:44 +03:00
Vladiwostok
f4dd1c0c72
Replace libdparse with DMD in LambdaReturnCheck ( #114 )
2025-08-29 13:16:44 +03:00
Vladiwostok
4a0016c9ed
Delete CommaExpressionCheck ( #104 )
2025-08-29 13:16:44 +03:00
Vladiwostok
eb0900437a
Delete IfStatementCheck ( #106 )
2025-08-29 13:16:44 +03:00
Vladiwostok
0e34c831ff
Replace libdparse with DMD in LabelVarNameCheck ( #101 )
...
* Replace libdparse with DMD in LabelVarNameCheck
* Disable check for local functions
2025-08-29 13:16:44 +03:00
Vladiwostok
de6c0a3c98
Use DMD in CyclomaticComplexityCheck ( #85 )
...
* Use DMD in CyclomaticComplexityCheck
* Simplify templated visit
* Keep old unit tests
2025-08-29 13:16:44 +03:00
Vladiwostok
4e69052ddc
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
2025-08-29 13:16:44 +03:00
Vladiwostok
cd8f4031a9
Use DMD in NumberStyleCheck ( #88 )
...
* Replace libdparse with DMD in NumberStyleCheck
* Fix re-lexing for windows (CRLF terminators) files
* Improve unit test
2025-08-29 13:16:44 +03:00
Vladiwostok
f1e3b77d42
Update dmd to latest version (02d6d07a69280f8cc88380a682717bb67ca485fb) & fix checks using parens ( #90 )
...
* Update dmd module
* Fix checks using Expreesion.parens
* Update windows build
2025-08-29 13:16:44 +03:00
Vladiwostok
7d8d89ca9c
Delete DuplicateAttributeCheck ( #79 )
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
721b2cf102
Fix GDC build
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
0eb408f82a
Update build bat
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
a8fd1487a8
Fix style errors
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
fe8618844d
Update dub.json to latest dmd commit
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
470df4870e
Disable integration tests due to autofix. Needs fixing
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
594a91249a
Disable parens errors. Needs fixing
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
e81443d5e3
Update dmd submodule reference
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
aefc3cb19a
Fix branch after rebase
2025-08-29 13:16:44 +03:00
Eduard Staniloiu
d76aa0890c
Fix branch after rebase
2025-08-29 13:16:44 +03:00
Vladiwostok
3698c89fff
Use DMD in RedundantStorageClassCheck ( #84 )
2025-08-29 13:16:44 +03:00
Vladiwostok
608e773400
Replace libdparse in AsmStyleCheck ( #75 )
2025-08-29 13:16:44 +03:00
Vladiwostok
52b2a16e1a
Add null terminator to string pointers ( #77 )
2025-08-29 13:16:44 +03:00
lucica28
e73a8a8860
replace libdparse in trust_too_much visitor ( #70 )
2025-08-29 13:16:44 +03:00
lucica28
b45b268c0c
delete float operator check ( #71 )
2025-08-29 13:16:44 +03:00
lucica28
a7545fc9d2
replace libdparse in unused label check ( #65 )
2025-08-29 13:16:44 +03:00
lucica28
47dc93d6e1
replace libdparse in exception check ( #68 )
2025-08-29 13:16:44 +03:00
lucica28
faf939ab18
replace libdparse in useless assert ( #63 )
2025-08-29 13:16:44 +03:00
lucica28
3c3eb1f578
replace libdparse in statif if else visitor ( #56 )
2025-08-29 13:16:44 +03:00
lucica28
a6c7de97b7
replace libdparse in redundant parens check ( #61 )
2025-08-29 13:16:44 +03:00
lucica28
cd2b2e0af4
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-08-29 13:16:44 +03:00
lucica28
c115d9f163
replace libdparse in backwards range check ( #58 )
2025-08-29 13:16:44 +03:00
lucica28
dcb9e0b0c9
update dmd ( #57 )
2025-08-29 13:16:44 +03:00
lucica28
88ea8f974a
replace libdparse in builtin properties visitor ( #52 )
2025-08-29 13:16:44 +03:00
lucica28
9f961bf051
replace libdparse in logic precedence visitor ( #54 )
2025-08-29 13:16:44 +03:00
lucica28
b90511573d
replace libdparse in auto ref assignment ( #51 )
2025-08-29 13:16:44 +03:00
lucica28
1591f9a16a
replace libparse in opequals without tohash visitor ( #53 )
2025-08-29 13:16:44 +03:00
lucica28
117c48a5f3
replace libdpase in assert without msg visitor ( #50 )
2025-08-29 13:16:44 +03:00
lucica28
697e59d7d7
replace libdparse in local imports visitor ( #45 )
2025-08-29 13:16:44 +03:00