diff options
| author | mydeveloperday <mydeveloperday@gmail.com> | 2022-01-03 11:19:02 +0000 |
|---|---|---|
| committer | mydeveloperday <mydeveloperday@gmail.com> | 2022-01-03 11:19:02 +0000 |
| commit | cd2b050fa4995b75b9c36fae16c0d9f105b67585 (patch) | |
| tree | 58090303caf59ba3a864de84ec1dc387824cb7c8 /llvm/unittests/Support/TargetParserTest.cpp | |
| parent | 4ca510b1d1ea826a357ae75c36618d52016200c7 (diff) | |
| download | llvm-cd2b050fa4995b75b9c36fae16c0d9f105b67585.zip llvm-cd2b050fa4995b75b9c36fae16c0d9f105b67585.tar.gz llvm-cd2b050fa4995b75b9c36fae16c0d9f105b67585.tar.bz2 | |
[clang-format] spacesRequiredBetween is not honouring clang-format off/on
https://github.com/llvm/llvm-project/issues/52881
It seems that clang-format off/on is not being honoured in regard to adding spaces.
My understanding of clang-format off/on is that it marks the token as finalized based on whether formatting is currently enabled or disabled.
This was causing a space to be added between the `<` and `<<` in the Cuda kernel `foo<<<1, 1>>>();`
This if doesn't solve this actual issue but ensure that clang-format is at least honoured.
Reviewed By: curdeius, owenpan
Differential Revision: https://reviews.llvm.org/D116494
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
