Move a few more convenience factory functions from Constant to LLVMContext.
[oota-llvm.git] / include / llvm / Type.h
index d4f86f0b5c44d7f5369167d4b20125d76781acf6..38c4e30539fb00d125a0028c26da70ad72c63b96 100644 (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
+  /// instance 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