| 297 | } |
| 298 | |
| 299 | bool isResourceType(uint32_t Idx) const noexcept { |
| 300 | const auto &Ctx = getCurrentContext(); |
| 301 | return Ctx.ResourceTypes.find(Idx) != Ctx.ResourceTypes.end(); |
| 302 | } |
| 303 | |
| 304 | /// Returns true iff the type index is a resource defined in the current |
| 305 | /// scope (not imported, not an outer-alias). Required for canon |
no test coverage detected