| 168 | } |
| 169 | |
| 170 | bool Type::IsBuffer() const |
| 171 | { |
| 172 | return symbol == nullptr && |
| 173 | ( builtInType == OP_BUFFER || |
| 174 | builtInType == OP_BYTEADDRESSBUFFER || |
| 175 | builtInType == OP_STRUCTUREDBUFFER || |
| 176 | builtInType == OP_APPENDSTRUCTUREDBUFFER || |
| 177 | builtInType == OP_CONSUMESTRUCTUREDBUFFER || |
| 178 | builtInType == OP_RWBUFFER || |
| 179 | builtInType == OP_RWSTRUCTUREDBUFFER || |
| 180 | builtInType == OP_RWBYTEADDRESSBUFFER ); |
| 181 | } |
| 182 | |
| 183 | bool Type::GetMethodType( ASTNode* methodCall, Type& returnType ) const |
| 184 | { |
no outgoing calls
no test coverage detected