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

[clang-format] formatting Address of Label extension #61233

Closed
quite opened this issue Mar 7, 2023 · 1 comment · Fixed by #89346
Closed

[clang-format] formatting Address of Label extension #61233

quite opened this issue Mar 7, 2023 · 1 comment · Fixed by #89346
Assignees

Comments

@quite
Copy link

quite commented Mar 7, 2023

When using operator && as the "Address of Label Extension", Clang-Format (15.0.7) formats this like below. Is it feasible to make it possible to format this specific use of && in another way? For example like (uint32_t)&&foo;?

uint32_t foo_addr = (uint32_t) && foo;
[..]
foo:
[..]
@llvmbot
Copy link
Collaborator

llvmbot commented Mar 7, 2023

@llvm/issue-subscribers-clang-format

@owenca owenca self-assigned this Apr 19, 2024
owenca added a commit to owenca/llvm-project that referenced this issue Apr 19, 2024
Also fix a bug in annotating TrailingAnnotation.

Closes llvm#61233.
owenca added a commit that referenced this issue Apr 20, 2024
…9346)

Also fix a bug in annotating TrailingAnnotation.

Closes #61233.
aniplcc pushed a commit to aniplcc/llvm-project that referenced this issue Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants