getTypeAlignInChars().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94553
91177308-0d34-0410-b5e6-
96231b3b80d8
return getTypeInfo(T).second;
}
- /// getTypeAlign - Return the ABI-specified alignment of a type, in
+ /// getTypeAlignInChars - Return the ABI-specified alignment of a type, in
/// characters. This method does not work on incomplete types.
CharUnits getTypeAlignInChars(QualType T);
CharUnits getTypeAlignInChars(const Type *T);
return CharUnits::fromQuantity(getTypeSize(T) / getCharWidth());
}
-/// getTypeAlign - Return the ABI-specified alignment of a type, in
+/// getTypeAlignInChars - Return the ABI-specified alignment of a type, in
/// characters. This method does not work on incomplete types.
CharUnits ASTContext::getTypeAlignInChars(QualType T) {
return CharUnits::fromQuantity(getTypeAlign(T) / getCharWidth());