aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitb8cab9227a0f6ffbdaae33e3c64268e265008a6a (patch)
tree0f1b5e70c2370fc9b8093bf2b9066e411bbe109d /lib/Target/TargetMachine.cpp
parentb34dd13a0f306178aec9d7cfb848fd727f6f818f (diff)
downloadexternal_llvm-b8cab9227a0f6ffbdaae33e3c64268e265008a6a.zip
external_llvm-b8cab9227a0f6ffbdaae33e3c64268e265008a6a.tar.gz
external_llvm-b8cab9227a0f6ffbdaae33e3c64268e265008a6a.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r--lib/Target/TargetMachine.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index c05efd0..a1d6fa7 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/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>