[clang] [clang-format] BreakAfterAttributes did not take into account gnu attributes (PR #78102)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 00:14:06 PST 2024


owenca wrote:

> You either have to use a new option, or adapt the documentation. Latter clearly only refers to `C++11 attributes`, which `__attribute__(())` isn't.
> 
> I don't think a new option is needed.
> 
> When you are already at it, you may also consider handling `__declspec()`.

+1.

https://github.com/llvm/llvm-project/pull/78102


More information about the cfe-commits mailing list