[llvm-branch-commits] [llvm] TableGen: Avoid emitting trailing whitespace in StringToOffsetTable (PR #148840)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 15 06:49:22 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[] =)",
----------------
nikic wrote:
I think you'd want to add a whitespace before `"{\n"` a few lines below then?
https://github.com/llvm/llvm-project/pull/148840
More information about the llvm-branch-commits
mailing list