[llvm-branch-commits] [llvm] TableGen: Avoid emitting trailing whitespace in StringToOffsetTable (PR #148840)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 15 06:51:34 PDT 2025


================
@@ -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[] =)",
----------------
arsenm wrote:

I don't think so, it looks right as is. Every entry ends up on its own line, though under-indented 

https://github.com/llvm/llvm-project/pull/148840


More information about the llvm-branch-commits mailing list