https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/148840
None >From 8e3742e01270c734d530f2a74f9662c43c5a2e24 Mon Sep 17 00:00:00 2001 From: Matt Arsenault <matthew.arsena...@amd.com> Date: Tue, 15 Jul 2025 21:12:57 +0900 Subject: [PATCH] TableGen: Avoid emitting trailing whitespace in StringToOffsetTable --- llvm/lib/TableGen/StringToOffsetTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/TableGen/StringToOffsetTable.cpp b/llvm/lib/TableGen/StringToOffsetTable.cpp index 9fb41485db745..d6d2c2590389a 100644 --- a/llvm/lib/TableGen/StringToOffsetTable.cpp +++ b/llvm/lib/TableGen/StringToOffsetTable.cpp @@ -38,7 +38,7 @@ void StringToOffsetTable::EmitStringTableDef(raw_ostream &OS, #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Woverlength-strings" #endif -{} constexpr char {}{}Storage[] = )", +{} constexpr char {}{}Storage[] =)", ClassPrefix.empty() ? "static" : "", ClassPrefix, Name); // MSVC silently miscompiles string literals longer than 64k in some _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits