[llvm] r256951 - Fix option desc in FunctionAttrs; NFC

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 10:18:17 PST 2016


Author: weimingz
Date: Wed Jan  6 12:18:16 2016
New Revision: 256951

URL: http://llvm.org/viewvc/llvm-project?rev=256951&view=rev
Log:
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

Modified:
    llvm/trunk/lib/Transforms/IPO/ForceFunctionAttrs.cpp

Modified: llvm/trunk/lib/Transforms/IPO/ForceFunctionAttrs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/ForceFunctionAttrs.cpp?rev=256951&r1=256950&r2=256951&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/ForceFunctionAttrs.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/ForceFunctionAttrs.cpp Wed Jan  6 12:18:16 2016
@@ -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) {




More information about the llvm-commits mailing list