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

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 14 12:08:25 PST 2024


HazardyKnusperkeks 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()`.

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


More information about the cfe-commits mailing list