Vladiwostok
b5a8ded6a9
Fix Autofix for AlwaysCurlyCheck ( #148 )
2025-01-12 16:22:19 +02:00
Vladiwostok
78590e6241
Replace libdparse with DMD in VcallCtorChecker ( #145 )
...
* Replace libdparse with DMD in VcallCtorChecker
* Reformat the file
2025-01-12 16:22:19 +02:00
Vladiwostok
0c7376583c
Fix Autofix for DeleteCheck ( #144 )
2025-01-12 16:22:19 +02:00
Vladiwostok
8f85263c3c
Update dmd to ef02f08456762548555b1476a6e32c6e6af6320c ( #146 )
2025-01-12 16:22:19 +02:00
Vladiwostok
1294a768d7
Respect "skip unittest" user configuration ( #139 )
2025-01-12 16:22:19 +02:00
Vladiwostok
c90a8f03e9
Implement autofix flow for dmd as a library and fix autofix for EnumArrayVisitor ( #143 )
2025-01-12 16:22:19 +02:00
Vladiwostok
c0c881ed39
Separate analyze with dmd and autofix flows from libdparse analyze flow ( #142 )
...
* Separate analyze with dmd and autofix flows from libdparse analyze flow
* Make locally used functions private
* Extract parsing using DMD in a separate function
* Address feedback
2025-01-12 16:22:19 +02:00
Vladiwostok
89f2e1c50e
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-01-12 16:22:18 +02:00
Vladiwostok
ee6acfb749
Replace libdparse with DMD in LineLengthCheck ( #134 )
...
* Replace libdparse with DMD in LineLengthCheck
* Fix windows line counting
* Fix gdc compilation
2025-01-12 16:22:18 +02:00
Vladiwostok
f95acb4c79
Replace libdparse with DMD in HasPublicExampleCheck ( #130 )
2025-01-12 16:22:17 +02:00
Vladiwostok
1e3459d024
Replace libdparse with DMD in UselessInitializerChecker ( #121 )
...
* Replace libdparse with DMD in UselessInitializerChecker
* Address feedback
2025-01-12 16:22:14 +02:00
Vladiwostok
8b5bc9fd9d
Replace libdparse with DMD in BodyOnDisabledFuncsCheck ( #127 )
...
* Replace libdparse with DMD in BodyOnDisabledFuncsCheck
* Address feedback
2025-01-12 16:22:13 +02:00
Vladiwostok
c167ff0695
Replace libdparse with DMD in UnmodifiedFinder ( #117 )
2025-01-12 16:22:11 +02:00
Vladiwostok
38a4c716bf
Replace libdparse with DMD in UnusedVariableCheck ( #119 )
2025-01-12 16:22:09 +02:00
Vladiwostok
4268f6327f
Replace libdparse with DMD in UnusedParameterCheck ( #116 )
...
* Replace libdparse with DMD in UnusedParameterCheck
* Add workaround for gdc-12 compilation
2025-01-12 16:22:09 +02:00
Vladiwostok
511bdce4b3
Replace libdparse with DMD in AutoFunctionChecker ( #103 )
2025-01-12 16:22:06 +02:00
Vladiwostok
232cf54e73
Replace libdparse with DMD in StyleChecker ( #111 )
2025-01-12 16:22:06 +02:00
Vladiwostok
7288aea5f8
Replace libdparse with DMD in AlwaysCurlyCheck ( #109 )
2025-01-12 16:22:06 +02:00
Vladiwostok
ee4e19292d
Replace libdparse with DMD in LambdaReturnCheck ( #114 )
2025-01-12 16:22:06 +02:00
Vladiwostok
030481b757
Delete CommaExpressionCheck ( #104 )
2025-01-12 16:22:06 +02:00
Vladiwostok
ffce05181e
Delete IfStatementCheck ( #106 )
2025-01-12 16:22:06 +02:00
Vladiwostok
5f3e25f40f
Replace libdparse with DMD in LabelVarNameCheck ( #101 )
...
* Replace libdparse with DMD in LabelVarNameCheck
* Disable check for local functions
2025-01-12 16:22:04 +02:00
Vladiwostok
1107667ad3
Use DMD in CyclomaticComplexityCheck ( #85 )
...
* Use DMD in CyclomaticComplexityCheck
* Simplify templated visit
* Keep old unit tests
2025-01-12 16:22:03 +02:00
Vladiwostok
0ac05511e3
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-01-12 16:22:02 +02:00
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
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
9b9dae8ce8
Disable parens errors. Needs fixing
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
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