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

Method isMultiDimensionArray

lib/generation/FuzzInput.cpp:119–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119bool FuzzInputGenerator::isMultiDimensionArray(const Type &T) {
120
121 if (!T.isArrayPtr())
122 return false;
123
124 const auto *PT = T.getPointeeType();
125 if (!PT || &T == PT)
126 return false;
127
128 return PT->isArrayPtr() || PT->isFixedLengthArrayPtr();
129}
130
131std::map<unsigned, std::shared_ptr<const Definition>>
132FuzzInputGenerator::generateDefMap(

Callers

nothing calls this directly

Calls 3

isArrayPtrMethod · 0.80
getPointeeTypeMethod · 0.80
isFixedLengthArrayPtrMethod · 0.80

Tested by

no test coverage detected