[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

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

[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

2025-04-18 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/135903 >From 8f79ecf3e3f32b6b735a478eb1d3a48b7a6fa640 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Tue, 15 Apr 2025 21:02:28 -0700 Subject: [PATCH 1/2] [clang-format] Fix a crash in EnumTrailingComma Fix #135819 ---

[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

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

[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

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

[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

2025-04-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fix #135819 --- Full diff: https://github.com/llvm/llvm-project/pull/135903.diff 2 Files Affected: - (modified) clang/lib/Format/Format.cpp (+11-6) - (modified) clang/unittests/Format/FormatTest.cpp (+1

[clang] [clang-format] Fix a crash in EnumTrailingComma (PR #135903)

2025-04-15 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/135903 Fix #135819 >From 8f79ecf3e3f32b6b735a478eb1d3a48b7a6fa640 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Tue, 15 Apr 2025 21:02:28 -0700 Subject: [PATCH] [clang-format] Fix a crash in EnumTrailingComma Fix #135