diff options
Diffstat (limited to 'llvm/lib/TableGen/Main.cpp')
| -rw-r--r-- | llvm/lib/TableGen/Main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/TableGen/Main.cpp b/llvm/lib/TableGen/Main.cpp index 35600bf2f1f8..ea716215e067 100644 --- a/llvm/lib/TableGen/Main.cpp +++ b/llvm/lib/TableGen/Main.cpp @@ -64,6 +64,15 @@ WriteIfChanged("write-if-changed", cl::desc("Only write output if it changed")); static cl::opt<bool> TimePhases("time-phases", cl::desc("Time phases of parser and backend")); +namespace llvm { +cl::opt<bool> EmitLongStrLiterals( + "long-string-literals", + cl::desc("when emitting large string tables, prefer string literals over " + "comma-separated char literals. This can be a readability and " + "compile-time performance win, but upsets some compilers"), + cl::Hidden, cl::init(true)); +} // end namespace llvm + static cl::opt<bool> NoWarnOnUnusedTemplateArgs( "no-warn-on-unused-template-args", cl::desc("Disable unused template argument warnings.")); |
