Skip to content

Commit 74ed3cc

Browse files
committed
TableGen: Avoid emitting trailing whitespace in StringToOffsetTable
1 parent af56fd0 commit 74ed3cc

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)