[llvm] r233365 - [NFC] Fix typo in comment.

Sanjoy Das sanjoy at playingwithpointers.com
Thu Mar 26 23:06:49 PDT 2015


Author: sanjoy
Date: Fri Mar 27 01:06:48 2015
New Revision: 233365

URL: http://llvm.org/viewvc/llvm-project?rev=233365&view=rev
Log:
[NFC] Fix typo in comment.

Modified:
    llvm/trunk/include/llvm/IR/Instructions.h

Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=233365&r1=233364&r2=233365&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Fri Mar 27 01:06:48 2015
@@ -3093,7 +3093,7 @@ public:
   /// removeAttribute - removes the attribute from the list of attributes.
   void removeAttribute(unsigned i, Attribute attr);
 
-  /// \brief removes the dereferenceable attribute to the list of attributes.
+  /// \brief adds the dereferenceable attribute to the list of attributes.
   void addDereferenceableAttr(unsigned i, uint64_t Bytes);
 
   /// \brief Determine whether this call has the given attribute.





More information about the llvm-commits mailing list