aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
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.