aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-03 21:46:28 +0000
committerDevang Patel <dpatel@apple.com>2008-03-03 21:46:28 +0000
commit41e2397b720bc5d917ef614a7a6c257e8a3c8e42 (patch)
tree134aebc1687b4475b4b29b5bffd7672aca752505 /include/llvm/Function.h
parent67909435402300f4ef9923cd24d53b44be17c97f (diff)
s/isReturnStruct()/hasStructRetAttr()/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 40b9c46de2..3d75db8a03 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -181,8 +181,9 @@ public:
/// @brief Determine if the function does not access or only reads memory.
bool onlyReadsMemory() const;
- /// @brief Determine if the function returns a structure.
- bool isStructReturn() const;
+ /// @brief Determine if the function returns a structure through first
+ /// pointer argument.
+ bool hasStructRetAttr() const;
/// deleteBody - This method deletes the body of the function, and converts
/// the linkage to external.