[llvm] r369849 - Update tablegen test after r369847.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 24 08:11:42 PDT 2019


Author: d0k
Date: Sat Aug 24 08:11:41 2019
New Revision: 369849

URL: http://llvm.org/viewvc/llvm-project?rev=369849&view=rev
Log:
Update tablegen test after r369847.

Modified:
    llvm/trunk/test/TableGen/generic-tables-instruction.td
    llvm/trunk/test/TableGen/generic-tables.td

Modified: llvm/trunk/test/TableGen/generic-tables-instruction.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/generic-tables-instruction.td?rev=369849&r1=369848&r2=369849&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/generic-tables-instruction.td (original)
+++ llvm/trunk/test/TableGen/generic-tables-instruction.td Sat Aug 24 08:11:41 2019
@@ -4,7 +4,7 @@
 include "llvm/TableGen/SearchableTable.td"
 
 // CHECK-LABEL: GET_InstrTable_IMPL
-// CHECK: const MyInstr InstrTable[] = {
+// CHECK: constexpr MyInstr InstrTable[] = {
 // CHECK:   { B, 0xA },
 // CHECK:   { C, 0x0 },
 // CHECK:   { A, 0x5 },

Modified: llvm/trunk/test/TableGen/generic-tables.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/generic-tables.td?rev=369849&r1=369848&r2=369849&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/generic-tables.td (original)
+++ llvm/trunk/test/TableGen/generic-tables.td Sat Aug 24 08:11:41 2019
@@ -22,7 +22,7 @@ include "llvm/TableGen/SearchableTable.t
 // CHECK: const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2);
 
 // CHECK-LABEL: GET_ATable_IMPL
-// CHECK: const AEntry ATable[] = {
+// CHECK: constexpr AEntry ATable[] = {
 // CHECK:   { "baz"
 // CHECK:   { "foo"
 // CHECK:   { "foobar"




More information about the llvm-commits mailing list