diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 52fa3607ad5..847c931c8e5 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -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.