MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / getCountOf

Method getCountOf

src/ast/ast_typedecl.cpp:3136–3140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3134 }
3135
3136 int TypeDecl::getCountOf() const {
3137 uint64_t count = getCountOf64();
3138 DAS_ASSERTF(count <= 0x7fffffff, "count too big %lu", (unsigned long)count);
3139 return int(count <= 0x7fffffff ? count : 1);
3140 }
3141
3142 uint64_t TypeDecl::getCountOf64() const {
3143 uint64_t size = 1;

Callers 2

preVisitMethod · 0.80
visitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected