-
Notifications
You must be signed in to change notification settings - Fork 12k
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
clang-format option AfterPlacementOperator should be a boolean #78892
Comments
@llvm/issue-subscribers-clang-format Author: Owen Pan (owenca)
IMO, we don't need the `Leave` value for `AfterPlacementOperator`. @mydeveloperday @HazardyKnusperkeks @rymiel @omarahmed1111 what do you think?
|
One does never really need a |
A Also, only |
If you want to convert, that should happen before the LLVM 18 release, after that I'd say we can't remove the |
Change AfterPlacementOperator to a boolean. Also add SBPO_None for never inserting a space before a left parenthesis and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892.
Change AfterPlacementOperator to a boolean. Also add SBPO_None for never inserting a space before a left parenthesis and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892.
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes #78892.
/cherry-pick 908fd09 |
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
/pull-request #80259 |
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892.
@tstellar can this be merged before rc2? We need to get the fix into the very first official release of 18.x. |
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892.
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
Change AfterPlacementOperator to a boolean and deprecate SBPO_Never, which meant never inserting a space except when after new/delete. Fixes llvm#78892. (cherry picked from commit 908fd09)
IMO, we don't need the
Leave
value forAfterPlacementOperator
. @mydeveloperday @HazardyKnusperkeks @rymiel @omarahmed1111 what do you think?The text was updated successfully, but these errors were encountered: