Issue | 130787 |
---|---|
Summary | clang-format breaks hlsl syntax for infinity (+1.#INF) |
Labels | clang-format |
Assignees | |
Reporter | clshortfuse |
When using clang format on ```cpp float x = y * +1.#INF; ``` clang-format will separate it to
```cpp float x = y * +1. #INF; ``` This is invalid HLSL code and won't allow it to be compiled.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs