aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/CallSite.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/CallSite.h')
-rw-r--r--include/llvm/Support/CallSite.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index c15326ee95..1b25897646 100644
--- a/include/llvm/Support/CallSite.h
+++ b/include/llvm/Support/CallSite.h
@@ -185,29 +185,8 @@ public:
}
/// \brief Return true if this function has the given attribute.
- bool fnHasNoAliasAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasNoAliasAttr());
- }
- bool fnHasNoInlineAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasNoInlineAttr());
- }
- bool fnHasNoReturnAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasNoReturnAttr());
- }
- bool fnHasNoUnwindAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasNoUnwindAttr());
- }
- bool fnHasReadNoneAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasReadNoneAttr());
- }
- bool fnHasReadOnlyAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasReadOnlyAttr());
- }
- bool fnHasReturnsTwiceAttr() const {
- CALLSITE_DELEGATE_GETTER(fnHasReturnsTwiceAttr());
- }
- bool hasFnAttr(Attributes N) const {
- CALLSITE_DELEGATE_GETTER(hasFnAttr(N));
+ bool hasFnAttr(Attributes::AttrVal A) const {
+ CALLSITE_DELEGATE_GETTER(hasFnAttr(A));
}
/// \brief Return true if the call or the callee has the given attribute.