| Issue |
182569
|
| Summary |
[clang-format] AlignTrailingComments incorrectly aligns slashes for macros
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
nabelekt
|
With just
```yaml
---
Language: Cpp
Standard: c++20 # At time of writing, c++20 is the latest standard supported
BasedOnStyle: LLVM
```
```cpp
#define LOG_PRINT_CALL(level, fmt) \
va_list args; \
va_start(args, fmt); \
Print(level, fmt, args); \
va_end(args)
```
is getting formatted to
```cpp
#define LOG_PRINT_CALL(level, fmt) \
va_list args; \
va_start(args, fmt); \
Print(level, fmt, args); \
va_end(args)
```
Is there a way to prevent this? I don't see an option that will prevent it. Please add one.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs