[clang] [clang-format] Correctly annotate braces of empty functions (PR #72733)

2023-11-19 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/72733 ___ 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 of empty functions (PR #72733)

2023-11-19 Thread Emilia Kond via cfe-commits
https://github.com/rymiel approved this pull request. wow! https://github.com/llvm/llvm-project/pull/72733 ___ 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 of empty functions (PR #72733)

2023-11-19 Thread Björn Schäpers via cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request. https://github.com/llvm/llvm-project/pull/72733 ___ 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 of empty functions (PR #72733)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Also fixed some existing test cases. Fixed #57305. Fixed #58251. --- Full diff: https://github.com/llvm/llvm-project/pull/72733.diff 3 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+

[clang] [clang-format] Correctly annotate braces of empty functions (PR #72733)

2023-11-17 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/72733 Also fixed some existing test cases. Fixed #57305. Fixed #58251. >From 519c21da642026b917c2e51c95cc4347f85163ca Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 17 Nov 2023 17:51:33 -0800 Subject: [PATCH] [cla