[llvm] r298703 - Another instance where GCC doesn't understand implicit construction of StringLiteral.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 07:17:56 PDT 2017


Author: d0k
Date: Fri Mar 24 09:17:56 2017
New Revision: 298703

URL: http://llvm.org/viewvc/llvm-project?rev=298703&view=rev
Log:
Another instance where GCC doesn't understand implicit construction of StringLiteral.

Modified:
    llvm/trunk/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp

Modified: llvm/trunk/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp?rev=298703&r1=298702&r2=298703&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp Fri Mar 24 09:17:56 2017
@@ -38,8 +38,8 @@ class X86EVEX2VEXTablesEmitter {
 
   // Represents a manually added entry to the tables
   struct ManualEntry {
-    StringLiteral EVEXInstStr;
-    StringLiteral VEXInstStr;
+    const char *EVEXInstStr;
+    const char *VEXInstStr;
     bool Is128Bit;
   };
 




More information about the llvm-commits mailing list