MCPcopy Create free account
hub / github.com/avast/retdec / isStringArrayPointeType

Function isStringArrayPointeType

src/bin2llvmir/utils/llvm.cpp:114–118  ·  view source on GitHub ↗

* @return @c True if @a t is a pointer to string array type * (see @c isStringArrayType), @c false otherwise. */

Source from the content-addressed store, hash-verified

112 * (see @c isStringArrayType), @c false otherwise.
113 */
114bool isStringArrayPointeType(const llvm::Type* t)
115{
116 auto* pt = dyn_cast_or_null<PointerType>(t);
117 return pt ? isStringArrayType(pt->getElementType()) : false;
118}
119
120/**
121 * This is the same as @c stringToLlvmType(), but default type is returned

Callers 2

getConstantMethod · 0.85
runOnModuleMethod · 0.85

Calls 2

isStringArrayTypeFunction · 0.85
getElementTypeMethod · 0.45

Tested by

no test coverage detected