[clang] [clang-format] Correctly annotate braces in macro definitions (PR #123279)

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

[clang] [clang-format] Correctly annotate braces in macro definitions (PR #123279)

2025-01-17 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/123279 >From 04b03d24d661dc8e8503269b7ddf55140e88de20 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Thu, 16 Jan 2025 19:45:33 -0800 Subject: [PATCH 1/2] [clang-format] Correctly annotate braces in macro definitions Fi

[clang] [clang-format] Correctly annotate braces in macro definitions (PR #123279)

2025-01-17 Thread via cfe-commits
https://github.com/mydeveloperday approved this pull request. This looks like it could solve some long running limitations, thank you for this one! https://github.com/llvm/llvm-project/pull/123279 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[clang] [clang-format] Correctly annotate braces in macro definitions (PR #123279)

2025-01-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #123179. --- Full diff: https://github.com/llvm/llvm-project/pull/123279.diff 3 Files Affected: - (modified) clang/lib/Format/UnwrappedLineParser.cpp (+3-3) - (modified) clang/unittests/Format/For

[clang] [clang-format] Correctly annotate braces in macro definitions (PR #123279)

2025-01-16 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/123279 Fixes #123179. >From 04b03d24d661dc8e8503269b7ddf55140e88de20 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Thu, 16 Jan 2025 19:45:33 -0800 Subject: [PATCH] [clang-format] Correctly annotate braces in macro defi