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

Method isPointer

include/daScript/ast/ast_typedecl.h:877–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875 }
876
877 __forceinline bool TypeDecl::isPointer() const {
878 return (baseType==Type::tPointer) && (dim.size()==0);
879 }
880
881 __forceinline bool TypeDecl::isSmartPointer() const {
882 return (baseType==Type::tPointer) && (smartPtr) && (dim.size()==0);

Callers 15

initMainMethod · 0.80
yyparseFunction · 0.80
type_to_stringFunction · 0.80
reportMethodVsCallMethod · 0.80
verifyNoWriteMethod · 0.80
collectStructDepsFunction · 0.80
visitGlobalLetInitMethod · 0.80
visitMethod · 0.80
propagateAlwaysSafeMethod · 0.80
visitLetInitMethod · 0.80
propagateReadMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected