Fix option desc in FunctionAttrs; NFC
authorWeiming Zhao <weimingz@codeaurora.org>
Wed, 6 Jan 2016 18:18:16 +0000 (18:18 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Wed, 6 Jan 2016 18:18:16 +0000 (18:18 +0000)
Summary: The example in desc should match with actual option name

Reviewers: jmolloy

Differential Revision: http://reviews.llvm.org/D15800

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256951 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/ForceFunctionAttrs.cpp

index 816291dac9e8e0de9e83b84ef5da6dd4c5092ad6..6df044762cf45e949fa489b805b044db872d2a0c 100644 (file)
@@ -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) {