forked from blender/blender-dev-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code_clean: support removing redundant parenthesis arund function calls
'parenthesis_cleanup' cleanup pass now supports replacing `(func(a + b))` with `func(a + b)`. This was useful when cleaning up casts `((int)value)` which then got converted to `(int(value))` which adds unnecessary braces in most cases.
- Loading branch information
1 parent
5836f21
commit 6f6e033
Showing
1 changed file
with
120 additions
and
14 deletions.
There are no files selected for viewing
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