llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[clang-format] Expected to eliminate spaces after #if 0

Open vfdff opened this issue 4 years ago • 3 comments

  • command: clang-format test.cpp > test.cpp.new

  • base on above cmd with clang-format, the new generate formatted file still have redundant spaces after #if 0. image

vfdff avatar Aug 20 '22 08:08 vfdff

@llvm/issue-subscribers-clang-format

llvmbot avatar Aug 20 '22 13:08 llvmbot

@vfdff Sorry, I cannot reproduce this issue. Could you provide test.cpp and the version of clang-format? Thanks!

jackhong12 avatar Aug 31 '22 18:08 jackhong12

Thanks @jackhong12 I think #68404 reported similar issue.

vfdff avatar Oct 07 '23 13:10 vfdff