diff options
author | Duncan Sands <baldrick@free.fr> | 2007-11-22 20:23:04 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-11-22 20:23:04 +0000 |
commit | ed4a2f168873527e1737deaa7a0c6c045a2cff7d (patch) | |
tree | 059e19141a8d11daa4606a65b06ffc2d817dc166 /lib/VMCore/Function.cpp | |
parent | 83bb0055fdac3c6234c4178cd429e6a917d06c4e (diff) |
Rename the 'const' parameter attribute to 'readnone',
and the 'pure' parameter attribute to 'readonly'.
Names suggested by DannyB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index a011aaea33..6c29371862 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -108,10 +108,10 @@ ParamAttrsList::getParamAttrsText(uint16_t Attrs) { Result += "byval "; if (Attrs & ParamAttr::Nest) Result += "nest "; - if (Attrs & ParamAttr::Pure) - Result += "pure "; - if (Attrs & ParamAttr::Const) - Result += "const "; + if (Attrs & ParamAttr::ReadNone) + Result += "readnone "; + if (Attrs & ParamAttr::ReadOnly) + Result += "readonly "; return Result; } |