[llvm] r258647 - Update outdated method documention in Attributes.h. NFC.
Manuel Jacob via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 14:38:40 PST 2016
Author: mjacob
Date: Sat Jan 23 16:38:39 2016
New Revision: 258647
URL: http://llvm.org/viewvc/llvm-project?rev=258647&view=rev
Log:
Update outdated method documention in Attributes.h. NFC.
Nowadays the alignment attribute is not the only integer attribute.
Modified:
llvm/trunk/include/llvm/IR/Attributes.h
Modified: llvm/trunk/include/llvm/IR/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Attributes.h?rev=258647&r1=258646&r2=258647&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Attributes.h (original)
+++ llvm/trunk/include/llvm/IR/Attributes.h Sat Jan 23 16:38:39 2016
@@ -116,11 +116,11 @@ public:
bool hasAttribute(StringRef Val) const;
/// \brief Return the attribute's kind as an enum (Attribute::AttrKind). This
- /// requires the attribute to be an enum or alignment attribute.
+ /// requires the attribute to be an enum or integer attribute.
Attribute::AttrKind getKindAsEnum() const;
/// \brief Return the attribute's value as an integer. This requires that the
- /// attribute be an alignment attribute.
+ /// attribute be an integer attribute.
uint64_t getValueAsInt() const;
/// \brief Return the attribute's kind as a string. This requires the
More information about the llvm-commits
mailing list