mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user