summaryrefslogtreecommitdiff
path: root/include/llvm/Attributes.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-10-03 17:50:00 +0000
committerDevang Patel <dpatel@apple.com>2008-10-03 17:50:00 +0000
commit6d1b8a5911b98b49c3a17874f8a9cc3dfa9fa6f0 (patch)
treeacae823e91acc483f89569817dd0c5edafe646fc /include/llvm/Attributes.h
parent17a82eaeb6339b184acb2f8bf0f314d69ad2e1d3 (diff)
downloadllvm-6d1b8a5911b98b49c3a17874f8a9cc3dfa9fa6f0.tar.gz
llvm-6d1b8a5911b98b49c3a17874f8a9cc3dfa9fa6f0.tar.bz2
llvm-6d1b8a5911b98b49c3a17874f8a9cc3dfa9fa6f0.tar.xz
Verify function attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Attributes.h')
-rw-r--r--include/llvm/Attributes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index d8f6cf6f09..50a4cef9ea 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -53,8 +53,8 @@ const Attributes Alignment = 0xffff<<16; ///< Alignment of parameter (16 bits)
/// @brief Attributes that only apply to function parameters.
const Attributes ParameterOnly = ByVal | Nest | StructRet;
-/// @brief Attributes that only apply to function return values.
-const Attributes ReturnOnly = NoReturn | NoUnwind | ReadNone | ReadOnly;
+/// @brief Attributes that only apply to function.
+const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly;
/// @brief Parameter attributes that do not apply to vararg call arguments.
const Attributes VarArgsIncompatible = StructRet;