summaryrefslogtreecommitdiffstats
path: root/include/llvm/Argument.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Argument.h')
-rw-r--r--include/llvm/Argument.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h
index e66075c..b1c2218 100644
--- a/include/llvm/Argument.h
+++ b/include/llvm/Argument.h
@@ -68,8 +68,8 @@ public:
/// attribute on it in its containing function.
bool hasNoCaptureAttr() const;
- /// hasSRetAttr - Return true if this argument has the sret attribute on it in
- /// its containing function.
+ /// hasStructRetAttr - Return true if this argument has the sret attribute on
+ /// it in its containing function.
bool hasStructRetAttr() const;
/// addAttr - Add a Attribute to an argument
@@ -81,7 +81,6 @@ public:
/// classof - Methods for support type inquiry through isa, cast, and
/// dyn_cast:
///
- static inline bool classof(const Argument *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueID() == ArgumentVal;
}
OpenPOWER on IntegriCloud