-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace libdparse with dmd as a library in static code analysis #964
Open
Vladiwostok
wants to merge
109
commits into
dlang-community:master
Choose a base branch
from
Vladiwostok:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rikkimax
previously requested changes
Dec 16, 2024
…n with dmd (dlang-community#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
* replace libdparse in delete check * delete comment
* Update README * Add dmd-as-a-library submodule (dlang-community#2) * Add GH Actions build script (dlang-community#4) * Removed libdparse from imports print functionality (dlang-community#3) * Fix failing tester + add unittest for imports (dlang-community#7) * Add style checker (dlang-community#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 (dlang-community#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 <[email protected]> Co-authored-by: Eduard Staniloiu <[email protected]>
* update dmd * update dmd
* replace libdparse in imports sortedness visitor * minor refactor
* Replace libdparse with DMD in VcallCtorChecker * Reformat the file
* Fix broken unittests in vcall_in_ctor.d * Fix broken unittest in line_length.d * Fix broken unittest in redundant_attributes.d * Fix broken unittest in if_constraints_indent.d * Fix broken unittests in auto_function.d * Fix broken unittest in always_curly.d
* Replace libdparse with DMD in AllManCheck * Test assertAnalyzerDmd without writing to file * Revert "Test assertAnalyzerDmd without writing to file" This reverts commit 9f50f38a11d97df960c05d5a128059b13e7dcab4. * Fix windows ci bug --------- Co-authored-by: Eduard Staniloiu <[email protected]>
…ty#128) * Replace libdparse with DMD in IfConstraintsIndentCheck * Fix evil segfault bug * Remove Issue#829 unit test * Properly detect issue
* Delete libdparse unit test assertion function * Delete unused libdparse visitors from base.d * Improve StaticIfElse warning location * Improve FunctionAttributeCheck warning location * Switch to DMD flow for listing autofixes * Extract dmd analyzer selection in a separate function * Make getName() method in BaseAnalyzerDmd public * Fix offsets in integration test json * Improve StyleChecker warning location * Enable integration tests in CI * Fix Autofix flow * Remove & comment dead code * Remove dead code from autofix unit test * Remove dead code * Remove dead code from autofix.d * Clean up code in helpers.d * Clean up code in run.d and migrate StatsCollector to dmd * Fix reading code from stdin * Return if errors are found in analysis flows * Remove dead code * Check for Windows line terminators in integration tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.