aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Argument.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-12-11 08:36:17 +0000
committerDuncan Sands <baldrick@free.fr>2009-12-11 08:36:17 +0000
commitbe1ce0a867a7e62094fc9a158c15bb9e48cb80fa (patch)
tree151c0f1f1664913d64a400437e12d38c385ff13f /include/llvm/Argument.h
parent50d070561e5bc662518ae2348d4536aa557b9d1c (diff)
downloadexternal_llvm-be1ce0a867a7e62094fc9a158c15bb9e48cb80fa.zip
external_llvm-be1ce0a867a7e62094fc9a158c15bb9e48cb80fa.tar.gz
external_llvm-be1ce0a867a7e62094fc9a158c15bb9e48cb80fa.tar.bz2
Add utility method for determining whether a function argument
has the 'nest' attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Argument.h')
-rw-r--r--include/llvm/Argument.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h
index 3a846c2..ca54f48 100644
--- a/include/llvm/Argument.h
+++ b/include/llvm/Argument.h
@@ -51,6 +51,10 @@ public:
/// in its containing function.
bool hasByValAttr() const;
+ /// hasNestAttr - Return true if this argument has the nest attribute on
+ /// it in its containing function.
+ bool hasNestAttr() const;
+
/// hasNoAliasAttr - Return true if this argument has the noalias attribute on
/// it in its containing function.
bool hasNoAliasAttr() const;