Skip to content
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

Re-indenting of block comments doesn't handle blank lines. #815

Open
thomasvl opened this issue Sep 24, 2024 · 1 comment
Open

Re-indenting of block comments doesn't handle blank lines. #815

thomasvl opened this issue Sep 24, 2024 · 1 comment

Comments

@thomasvl
Copy link

thomasvl commented Sep 24, 2024

#791 doesn't seem to handle a blank line in the block comments, i.e. -

        /* Comment

           Comment after blank */
        /*
           Comment

           Comment after blank
         */

It looks like this is inserting the leading whitespace on the blank lines rather than leaving the blank lines completely blank. And that whitespace then gets flagged as something that should get fixed.

@ahoppen
Copy link
Member

ahoppen commented Sep 24, 2024

Synced to Apple’s issue tracker as rdar://136589486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants