summaryrefslogtreecommitdiff
path: root/llvm/lib/TableGen/Main.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-04-14 07:38:01 +0000
committerAiden Grossman <aidengrossman@google.com>2025-04-14 07:38:01 +0000
commit0b43a0423bbaa22384d522050a295eb564116d95 (patch)
tree18b4111bcb0563e9f7279666299318617dacc017 /llvm/lib/TableGen/Main.cpp
parentb7163d6a2490a7517cb8a526e36a877a4fd7bede (diff)
parent97bc9137e545423334b00d60ab64855ccc434c3a (diff)
[𝘀𝗽𝗿] changes introduced through rebaseusers/boomanaiden154/main.githubci-upload-ninja_log-as-an-artifact
Created using spr 1.3.4 [skip ci]
Diffstat (limited to 'llvm/lib/TableGen/Main.cpp')
-rw-r--r--llvm/lib/TableGen/Main.cpp9
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."));