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

Method setStruct

lib/propanalysis/ArgFlow.cpp:93–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91void ArgFlow::setFilePathString() { IsFilePathString = true; }
92
93void ArgFlow::setStruct(StructType *ST) {
94 if (STInfo)
95 return;
96
97 STInfo = std::make_shared<StructInfo>(ST);
98
99 // If Struct is a field in struct(nested struct),
100 // the depth(from Argument) is increased
101 if (FDInfo)
102 Depth++;
103}
104
105void ArgFlow::setIsVariableLenArray(bool Value) { IsVariableLenArray = Value; }
106

Callers 9

mergeArrayMethod · 0.95
updateFieldFlowMethod · 0.80
handleUserMethod · 0.80
updateFieldFlowMethod · 0.80
updateFieldFlowMethod · 0.80
handleUserMethod · 0.80
updateFieldFlowMethod · 0.80
handleUserMethod · 0.80
updateFieldFlowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected