[clang] [clang-format] Allow breaking before kw___attribute (PR #128623)

2025-02-25 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/128623 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Allow breaking before kw___attribute (PR #128623)

2025-02-25 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/128623 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Allow breaking before kw___attribute (PR #128623)

2025-02-24 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #74784 --- Full diff: https://github.com/llvm/llvm-project/pull/128623.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+2-3) - (modified) clang/unittests/Format/FormatTest

[clang] [clang-format] Allow breaking before kw___attribute (PR #128623)

2025-02-24 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/128623 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Allow breaking before kw___attribute (PR #128623)

2025-02-24 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/128623 Fixes 74784 >From aca2c4f54baaf05831d151c6fa3f20a6cc28a514 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Mon, 24 Feb 2025 20:09:22 -0800 Subject: [PATCH] [clang-format] Allow breaking before kw___attribute Fixe