Skip to content

Commit b249d1d

Browse files
mariusz-sikora-at-amdFlakebi
authored andcommitted
EmitLongStrLiterals cl::opt is now global in upstream LLVM
LLVM upstream change: llvm/llvm-project#124856 makes EmitLongStrLiterals cl::opt global
1 parent a52cb73 commit b249d1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/llvm-dialects-tblgen.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
using namespace llvm_dialects;
3030
using namespace llvm;
3131

32+
#if LLVM_MAIN_REVISION && LLVM_MAIN_REVISION < 533951
3233
namespace llvm {
3334
cl::opt<bool> EmitLongStrLiterals(
3435
"long-string-literals",
@@ -37,6 +38,7 @@ cl::opt<bool> EmitLongStrLiterals(
3738
"compile-time performance win, but upsets some compilers"),
3839
cl::Hidden, cl::init(true));
3940
} // end namespace llvm
41+
#endif // LLVM_MAIN_REVISION && LLVM_MAIN_REVISION < 533951
4042

4143
namespace {
4244

0 commit comments

Comments
 (0)