Issue 75980
Summary Clang-format adding unwanted space after a macro when used inside another macro C
Labels clang-format
Assignees
Reporter AravindGopala
    My src code before formatting:
```
#define ONE "ONE"
#define APPEND ONE"TWO"
```

After running clang-format:
```
#define ONE "ONE"
#define APPEND ONE "TWO"
```
Note: In the formatted code a while space is added after macro ONE.

Is there a way to tell clang-format not to do that, This is a blocker for me currently in adopting clang-formatter, would appreciate any workarounds.

I am currently just using default clang-formatter i.e by config file is blank
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to