Skip to content

[HLSL][clang-format] Disable CXXOperatorNames in HLSL mode #127851

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

Open
bogner opened this issue Feb 19, 2025 · 1 comment
Open

[HLSL][clang-format] Disable CXXOperatorNames in HLSL mode #127851

bogner opened this issue Feb 19, 2025 · 1 comment
Labels
clang-format HLSL HLSL Language Support

Comments

@bogner
Copy link
Contributor

bogner commented Feb 19, 2025

HLSL does not treat alternative operators as keywords (and, or, etc) - see #126758. We'll need to make sure we treat them as regular identifiers when formatting.

note: blocked on #126257

@bogner bogner added clang-format HLSL HLSL Language Support labels Feb 19, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 19, 2025

@llvm/issue-subscribers-clang-format

Author: Justin Bogner (bogner)

HLSL does not treat alternative operators as keywords (`and`, `or`, etc) - see #126758. We'll need to make sure we treat them as regular identifiers when formatting.

note: blocked on #126257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang-format HLSL HLSL Language Support
Projects
Status: Ready
Development

No branches or pull requests

2 participants