diff options
author | Devang Patel <dpatel@apple.com> | 2008-03-03 21:46:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-03-03 21:46:28 +0000 |
commit | 41e2397b720bc5d917ef614a7a6c257e8a3c8e42 (patch) | |
tree | 134aebc1687b4475b4b29b5bffd7672aca752505 /include/llvm | |
parent | 67909435402300f4ef9923cd24d53b44be17c97f (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')
-rw-r--r-- | include/llvm/Function.h | 5 | ||||
-rw-r--r-- | include/llvm/Instructions.h | 10 |
2 files changed, 9 insertions, 6 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. diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 2e6b85b729..3dd42797c6 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -957,8 +957,9 @@ public: bool doesNotThrow() const; void setDoesNotThrow(bool doesNotThrow = true); - /// @brief Determine if the call returns a structure. - bool isStructReturn() const; + /// @brief Determine if the call returns a structure through first + /// pointer argument. + bool hasStructRetAttr() const; /// @brief Determine if any call argument is an aggregate passed by value. bool hasByValArgument() const; @@ -1769,8 +1770,9 @@ public: bool doesNotThrow() const; void setDoesNotThrow(bool doesNotThrow = true); - /// @brief Determine if the call returns a structure. - bool isStructReturn() const; + /// @brief Determine if the call returns a structure through first + /// pointer argument. + bool hasStructRetAttr() const; /// getCalledFunction - Return the function called, or null if this is an /// indirect function invocation. |