[llvm-commits] [llvm] r75659 - /llvm/trunk/include/llvm/Type.h

Török Edwin edwintorok at gmail.com
Tue Jul 14 11:50:26 PDT 2009


On 2009-07-14 21:48, Dan Gohman wrote:
> Author: djg
> Date: Tue Jul 14 13:48:32 2009
> New Revision: 75659
>
> URL: http://llvm.org/viewvc/llvm-project?rev=75659&view=rev
> Log:
> Add a comment clarifying the role of getPrimitiveTypeSizeInBits.
>   

Thanks Dan.

> Modified:
>     llvm/trunk/include/llvm/Type.h
>
> Modified: llvm/trunk/include/llvm/Type.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Type.h?rev=75659&r1=75658&r2=75659&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Type.h (original)
> +++ llvm/trunk/include/llvm/Type.h Tue Jul 14 13:48:32 2009
> @@ -268,6 +268,11 @@
>    /// 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
>   

s/intance/instance/

Best regards,
--Edwin



More information about the llvm-commits mailing list