Add pure/const attributes. Documentation will follow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2007-11-14 09:52:30 +00:00
parent 9de1934099
commit 0adb7b41e7
5 changed files with 34 additions and 14 deletions

View File

@ -108,6 +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 ";
return Result;
}