[clang] [clang-format] Allow open brace with trailing comment (no line break) (PR #89956)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 22:44:12 PDT 2024


owenca wrote:

IMO breaking before a trailing comment is a bug. Can we fix it without adding an option? If not, we should add one (e.g. `BreakBeforeTrailingComment`) instead of using `AlignTrailingComments`.

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


More information about the cfe-commits mailing list