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

Method isSmartPointer

include/daScript/ast/ast_typedecl.h:881–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879 }
880
881 __forceinline bool TypeDecl::isSmartPointer() const {
882 return (baseType==Type::tPointer) && (smartPtr) && (dim.size()==0);
883 }
884
885 __forceinline bool TypeDecl::isVoidPointer() const {
886 return isPointer() && (!firstType || firstType->isVoid());

Callers 3

visitMakeArrayIndexMethod · 0.80
addExternPropertyFunction · 0.80
addExternPropertyForTypeFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected