-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Feature Request: Add clang-format setting to disable "*" being added when ReflowComments is used with /* */ comments #58710
Comments
@llvm/issue-subscribers-clang-format |
@llvm/issue-subscribers-good-first-issue |
Can I work on this? |
I've started working on this, since it seems like it hasn't been picked up. My current idea is adding a |
I would like to work on this can you give me a little more context |
@xonx4l Who are you asking? What type of context do you want? |
@sean-mcmanus I wanted a little bit more info on this issue as I am unable to reproduce the described bug . Thanks . |
@xonx4l I've edited the original description to be more explicit in regards to the .clang-format file. Are you able to repro it now? I repro the bug with clang-format 16.0.6 on Windows. If not, I could look into providing an exact command line argument (or if you can let me know what clang-format call you're using that's not working). |
Hello @sean-mcmanus, I'd like to take to me this issue. How can I assign it to me? Meanwhile, I going to work to understand and, if possbile, resolve it. |
@WLOrion I don't know. I don't work on LLVM/clang-format. I just use it and filed the feature request. |
@mydeveloperday, can you help me about that? |
@WLOrion FYI, there are contribution instructions at https://llvm.org/docs/Contributing.html (but I haven't read them). |
@sean-mcmanus , this seems like a simple issue. Can you please the issue to me so that I can start working on it. |
@Sh0g0-1758 I'm not an LLVM developer. I don't have permissions to assign issues to people in this repo. |
Hi, I am working on one more issue: #53390 where I am adding a similar boolean flag to control to the indentation of NamespaceAliases and UsingDeclarations, I would like to add this as well. If anyone has permissions, please assign the issue to me. Thanks |
…s to IndentNamespaceAliases, IndentUsingDeclarations and DecorateReflowedComments. Issue llvm#53390 was reported to have an option to control indenting namespace aliases independently of NamespaceIndentation, added this feature. Issue llvm#58710 was reported to have an option to control the decoration of the block comments, added this feature.
Create a .clang-format file with contents
with a test.cpp file (in the same folder as the .clang-format file) like
Bug: The result is
but we'd like a setting so the result can be
The text was updated successfully, but these errors were encountered: