mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 16:54:48 +00:00
Add a comment clarifying the role of getPrimitiveTypeSizeInBits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3eadf00b46
commit
d51e5d0ee7
@ -268,6 +268,11 @@ public:
|
|||||||
/// This will return zero if the type does not have a size or is not a
|
/// This will return zero if the type does not have a size or is not a
|
||||||
/// primitive type.
|
/// primitive type.
|
||||||
///
|
///
|
||||||
|
/// Note that this may not reflect the size of memory allocated for an
|
||||||
|
/// instance of the type or the number of bytes that are written when an
|
||||||
|
/// intance of the type is stored to memory. The TargetData class provides
|
||||||
|
/// additional query functions to provide this information.
|
||||||
|
///
|
||||||
unsigned getPrimitiveSizeInBits() const;
|
unsigned getPrimitiveSizeInBits() const;
|
||||||
|
|
||||||
/// getScalarSizeInBits - If this is a vector type, return the
|
/// getScalarSizeInBits - If this is a vector type, return the
|
||||||
|
Loading…
Reference in New Issue
Block a user