summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-14 20:25:08 +0000
committerDan Gohman <gohman@apple.com>2008-10-14 20:25:08 +0000
commit9c4b7d5c4f38ee34f05affbcae478104325e5a1d (patch)
treebf4bd1230af2c6640083872b99a9317f296724dc /llvm/lib/Target/TargetMachine.cpp
parentc064d4edc49866c5b4a7043ce6b2d3c1b278f879 (diff)
downloadbcm5719-llvm-9c4b7d5c4f38ee34f05affbcae478104325e5a1d.tar.gz
bcm5719-llvm-9c4b7d5c4f38ee34f05affbcae478104325e5a1d.zip
Fix command-line option printing to print two spaces where needed,
instead of requiring all "short description" strings to begin with two spaces. This makes these strings less mysterious, and it fixes some cases where short description strings mistakenly did not begin with two spaces. llvm-svn: 57521
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index c05efd041ea..a1d6fa7eb97 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -102,13 +102,13 @@ DefRelocationModel(
cl::init(Reloc::Default),
cl::values(
clEnumValN(Reloc::Default, "default",
- " Target default relocation model"),
+ "Target default relocation model"),
clEnumValN(Reloc::Static, "static",
- " Non-relocatable code"),
+ "Non-relocatable code"),
clEnumValN(Reloc::PIC_, "pic",
- " Fully relocatable, position independent code"),
+ "Fully relocatable, position independent code"),
clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",
- " Relocatable external references, non-relocatable code"),
+ "Relocatable external references, non-relocatable code"),
clEnumValEnd));
static cl::opt<llvm::CodeModel::Model, true>
DefCodeModel(
@@ -118,15 +118,15 @@ DefCodeModel(
cl::init(CodeModel::Default),
cl::values(
clEnumValN(CodeModel::Default, "default",
- " Target default code model"),
+ "Target default code model"),
clEnumValN(CodeModel::Small, "small",
- " Small code model"),
+ "Small code model"),
clEnumValN(CodeModel::Kernel, "kernel",
- " Kernel code model"),
+ "Kernel code model"),
clEnumValN(CodeModel::Medium, "medium",
- " Medium code model"),
+ "Medium code model"),
clEnumValN(CodeModel::Large, "large",
- " Large code model"),
+ "Large code model"),
clEnumValEnd));
static cl::opt<bool, true>
OpenPOWER on IntegriCloud