1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Add a comment clarifying the role of getPrimitiveTypeSizeInBits.

llvm-svn: 75659
This commit is contained in:
Dan Gohman 2009-07-14 18:48:32 +00:00
parent 8682c6607e
commit 9b44481454

View File

@ -268,6 +268,11 @@ public:
/// This will return zero if the type does not have a size or is not a
/// 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;
/// getScalarSizeInBits - If this is a vector type, return the