owenca wrote:

> How do you want it to do without an option? Just never adding a space between 
> `_` and `(` might not be the thing somebody else wants.

If this were in the [GNU coding 
standards](https://www.gnu.org/prep/standards/standards.html#Formatting), I 
might agree to adding some special handling for GNU without adding a new 
option. Regardless, I'm inclined to oppose an option this niche.

@kgerlich you can make clang-format leave `_(` alone by using the 
[`OneLineFormatOffRegex`](https://clang.llvm.org/docs/ClangFormatStyleOptions.html#onelineformatoffregex)
 option? For example:
```
OneLineFormatOffRegex: ^_$
```

https://github.com/llvm/llvm-project/pull/159925
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to