[clang] [clang-format] Fix a crash on C# `goto case` (PR #113056)

2024-10-21 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/113056 ___ 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 on C# `goto case` (PR #113056)

2024-10-21 Thread via cfe-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/113056 ___ 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 on C# `goto case` (PR #113056)

2024-10-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #113011. --- Full diff: https://github.com/llvm/llvm-project/pull/113056.diff 2 Files Affected: - (modified) clang/lib/Format/UnwrappedLineParser.cpp (+1-1) - (modified) clang/unittests/Format/For

[clang] [clang-format] Fix a crash on C# `goto case` (PR #113056)

2024-10-19 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/113056 Fixes #113011. >From dd3bba3760b74806871593c430f9c1f6b55cfe62 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sat, 19 Oct 2024 10:25:32 -0700 Subject: [PATCH] [clang-format] Fix a crash on C# `goto case` Fixes #1