summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2016-01-06 18:18:16 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2016-01-06 18:18:16 +0000
commitc7c18d6d14f5d95e1a940ee4841e8ba74d8f9078 (patch)
tree8f42717ad3ffbf2ed69d99e98082bae176324809 /llvm/lib
parent12fe2279f3d166d4b1dfe302298fbf45c7afaf40 (diff)
downloadbcm5719-llvm-c7c18d6d14f5d95e1a940ee4841e8ba74d8f9078.tar.gz
bcm5719-llvm-c7c18d6d14f5d95e1a940ee4841e8ba74d8f9078.zip
Fix option desc in FunctionAttrs; NFC
Summary: The example in desc should match with actual option name Reviewers: jmolloy Differential Revision: http://reviews.llvm.org/D15800 llvm-svn: 256951
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp b/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
index 816291dac9e..6df044762cf 100644
--- a/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
@@ -22,7 +22,7 @@ static cl::list<std::string>
ForceAttributes("force-attribute", cl::Hidden,
cl::desc("Add an attribute to a function. This should be a "
"pair of 'function-name:attribute-name', for "
- "example -force-add-attribute=foo:noinline. This "
+ "example -force-attribute=foo:noinline. This "
"option can be specified multiple times."));
static Attribute::AttrKind parseAttrKind(StringRef Kind) {
OpenPOWER on IntegriCloud