Skip to content

Commit 8db92a7

Browse files
authored
TableGen: Avoid emitting trailing whitespace in StringToOffsetTable (#148840)
1 parent f4a394f commit 8db92a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/TableGen/StringToOffsetTable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void StringToOffsetTable::EmitStringTableDef(raw_ostream &OS,
3838
#pragma GCC diagnostic push
3939
#pragma GCC diagnostic ignored "-Woverlength-strings"
4040
#endif
41-
{} constexpr char {}{}Storage[] = )",
41+
{} constexpr char {}{}Storage[] =)",
4242
ClassPrefix.empty() ? "static" : "", ClassPrefix, Name);
4343

4444
// MSVC silently miscompiles string literals longer than 64k in some

0 commit comments

Comments
 (0)