MCPcopy Create free account
hub / github.com/beefytech/Beef / GetAlign

Method GetAlign

IDEHelper/DbgModule.cpp:2079–2096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2077}
2078
2079int DbgType::GetAlign()
2080{
2081 if (mAlign == 0)
2082 {
2083 auto primaryType = GetPrimaryType();
2084 if (primaryType != this)
2085 return primaryType->GetAlign();
2086
2087 if (IsCompositeType())
2088 {
2089 PopulateType();
2090 }
2091 }
2092
2093 if (mAlign != 0)
2094 return mAlign;
2095 return 1;
2096}
2097
2098void DbgType::EnsureMethodsMapped()
2099{

Callers 5

MatchMethodMethod · 0.45
VisitMethod · 0.45
GetSizedArrayTypeMethod · 0.45
CvParseMembersMethod · 0.45
CvParseTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected