summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2016-09-27 19:45:30 +0000
committerMartin Storsjo <martin@martin.st>2016-09-27 19:45:30 +0000
commit055a70263bf039cd2b44fb8f4df2f81cd272e5f8 (patch)
treee87c15277809f0c0721b14805b7bde1f8a00a340
parentec1c5a2048e8588d58727fecd7ab3d36732203a7 (diff)
downloadbcm5719-llvm-055a70263bf039cd2b44fb8f4df2f81cd272e5f8.tar.gz
bcm5719-llvm-055a70263bf039cd2b44fb8f4df2f81cd272e5f8.zip
Fix a typo, depricated -> deprecated
Differential Revision: https://reviews.llvm.org/D22849 llvm-svn: 282534
-rw-r--r--llvm/include/llvm/Support/CommandLine.h2
-rw-r--r--llvm/tools/llvm-mc/llvm-mc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index a0ec2622b03..1c1345516c2 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -1731,7 +1731,7 @@ void PrintHelpMessage(bool Hidden = false, bool Categorized = false);
/// the control of the client. The options should be modified before calling
/// llvm::cl::ParseCommandLineOptions().
///
-/// Hopefully this API can be depricated soon. Any situation where options need
+/// Hopefully this API can be deprecated soon. Any situation where options need
/// to be modified by tools or libraries should be handled by sane APIs rather
/// than just handing around a global list.
StringMap<Option *> &getRegisteredOptions(SubCommand &Sub = *TopLevelSubCommand);
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp
index 81ee3d83d55..78ad8765960 100644
--- a/llvm/tools/llvm-mc/llvm-mc.cpp
+++ b/llvm/tools/llvm-mc/llvm-mc.cpp
@@ -66,7 +66,7 @@ CompressDebugSections("compress-debug-sections", cl::ValueOptional,
clEnumValN(DebugCompressionType::DCT_Zlib, "zlib",
"Use zlib compression"),
clEnumValN(DebugCompressionType::DCT_ZlibGnu, "zlib-gnu",
- "Use zlib-gnu compression (depricated)"),
+ "Use zlib-gnu compression (deprecated)"),
clEnumValEnd));
static cl::opt<bool>
OpenPOWER on IntegriCloud