diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-01-30 19:05:09 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-01-30 19:05:09 +0000 |
commit | a9df9414030f6cbec511a8cef941998a268b9c6e (patch) | |
tree | bccc49ce90817c741446abdbf8e5d7c05192f5b7 /llvm/utils/TableGen/IntrinsicEmitter.cpp | |
parent | 5f565e018096a08cf01740a4521eedf63c0cbf82 (diff) | |
download | bcm5719-llvm-a9df9414030f6cbec511a8cef941998a268b9c6e.tar.gz bcm5719-llvm-a9df9414030f6cbec511a8cef941998a268b9c6e.zip |
Fix the GCC build.
This is fairly ugly, but apparently GCC still doesn't understand C++11.
llvm-svn: 293535
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 7b402cc58dd..0e4d1c7b8ae 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -139,8 +139,8 @@ void IntrinsicEmitter::EmitTargetInfo(const CodeGenIntrinsicTable &Ints, << "};\n"; OS << "static constexpr IntrinsicTargetInfo TargetInfos[] = {\n"; for (auto Target : Ints.Targets) - OS << " {\"" << Target.Name << "\", " << Target.Offset << ", " - << Target.Count << "},\n"; + OS << " {StringLiteral(\"" << Target.Name << "\"), " << Target.Offset + << ", " << Target.Count << "},\n"; OS << "};\n"; OS << "#endif\n\n"; } |