aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-01-12 16:42:01 +0000
committerDuncan Sands <baldrick@free.fr>2008-01-12 16:42:01 +0000
commitb41773f9cabcedc9ea64ff6093030dee6de45bfb (patch)
treee7f475181d96a43ed29fbd583457a2c71583449f /include
parent758296df4ac666c9fe3c47fadf3545c2df26d8a1 (diff)
downloadexternal_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.zip
external_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.tar.gz
external_llvm-b41773f9cabcedc9ea64ff6093030dee6de45bfb.tar.bz2
Be more liberal in what parameter attributes are
allowed on the vararg arguments of a call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ParameterAttributes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ParameterAttributes.h b/include/llvm/ParameterAttributes.h
index 4106dcb..ded847e 100644
--- a/include/llvm/ParameterAttributes.h
+++ b/include/llvm/ParameterAttributes.h
@@ -52,8 +52,8 @@ const uint16_t ParameterOnly = ByVal | InReg | Nest | StructRet;
/// @brief Attributes that only apply to function return values.
const uint16_t ReturnOnly = NoReturn | NoUnwind | ReadNone | ReadOnly;
-/// @brief Attributes that can apply to vararg call arguments.
-const uint16_t VarArgsCompatible = ByVal;
+/// @brief Parameter attributes that do not apply to vararg call arguments.
+const uint16_t VarArgsIncompatible = Nest | StructRet;
/// @brief Attributes that are mutually incompatible.
const uint16_t MutuallyIncompatible[3] = {