MCPcopy Create free account
hub / github.com/KDE/kdevelop / alignOf

Method alignOf

kdevplatform/language/duchain/types/abstracttype.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int64_t AbstractType::alignOf() const
56{
57 if (d_func()->m_alignOfExponent == AbstractTypeData::MaxAlignOfExponent) {
58 return -1;
59 } else {
60 return Q_INT64_C(1) << d_func()->m_alignOfExponent;
61 }
62}
63
64void AbstractType::setAlignOf(int64_t alignedTo)
65{

Callers 3

testSizeAlignOfMethod · 0.80
testSizeAlignOfUpdateMethod · 0.80

Calls

no outgoing calls

Tested by 2

testSizeAlignOfMethod · 0.64
testSizeAlignOfUpdateMethod · 0.64