MCPcopy Create free account
hub / github.com/Samsung/UTopia / isFixedLengthArrayPtr

Method isFixedLengthArrayPtr

lib/type/Type.cpp:153–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153bool Type::isFixedLengthArrayPtr() const {
154 if (this->isPointerType() && PtrInfo) {
155 if (const auto *ArrInfo = this->getArrayInfo()) {
156 return ArrInfo->getLengthType() == ArrayInfo::FIXED;
157 }
158 }
159 return false;
160}
161
162std::string Type::getASTTypeName() const {
163 std::string Ret = ASTTypeName;

Callers 13

addFieldToDescriptorMethod · 0.80
genFuzzVarDeclMethod · 0.80
genDeclStmtMethod · 0.80
genArrDeclStmtMethod · 0.80
isMultiDimensionArrayMethod · 0.80
generateMethod · 0.80
setTypeMethod · 0.80

Calls 3

isPointerTypeMethod · 0.95
getArrayInfoMethod · 0.95
getLengthTypeMethod · 0.80

Tested by 1

TEST_FFunction · 0.64