aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/X86DisassemblerTables.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-09-03 11:17:47 -0700
committerKazu Hirata <kazu@google.com>2022-09-03 11:17:47 -0700
commit32aa35b50406165b395a5033daf2eacf57a439eb (patch)
tree61672870672410a3f32dbb289add56abaff595e9 /llvm/utils/TableGen/X86DisassemblerTables.cpp
parentbaee196abbfbf1750391bad27618006b2f6e0ef1 (diff)
downloadllvm-32aa35b50406165b395a5033daf2eacf57a439eb.zip
llvm-32aa35b50406165b395a5033daf2eacf57a439eb.tar.gz
llvm-32aa35b50406165b395a5033daf2eacf57a439eb.tar.bz2
Drop empty string literals from static_assert (NFC)
Identified with modernize-unary-static-assert.
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
-rw-r--r--llvm/utils/TableGen/X86DisassemblerTables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/X86DisassemblerTables.cpp b/llvm/utils/TableGen/X86DisassemblerTables.cpp
index 2fa8fce..1f3ab48 100644
--- a/llvm/utils/TableGen/X86DisassemblerTables.cpp
+++ b/llvm/utils/TableGen/X86DisassemblerTables.cpp
@@ -763,7 +763,7 @@ void DisassemblerTables::emitOpcodeDecision(raw_ostream &o1, raw_ostream &o2,
}
if (index == 256) {
// If all 256 entries are MODRM_ONEENTRY, omit output.
- static_assert(MODRM_ONEENTRY == 0, "");
+ static_assert(MODRM_ONEENTRY == 0);
--i2;
o2 << "},\n";
} else {