summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Type.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h
index f6d993db9b8..d19bec2712d 100644
--- a/llvm/include/llvm/Type.h
+++ b/llvm/include/llvm/Type.h
@@ -229,9 +229,10 @@ public:
return !isAbstract() || isSizedDerivedType();
}
- /// getPrimitiveSize - Return the basic size of this type if it is a primitive
- /// type. These are fixed by LLVM and are not target dependent. This will
- /// return zero if the type does not have a size or is not a primitive type.
+ /// getPrimitiveSizeInBits - Return the basic size of this type if it is a
+ /// primitive type. These are fixed by LLVM and are not target dependent.
+ /// This will return zero if the type does not have a size or is not a
+ /// primitive type.
///
unsigned getPrimitiveSizeInBits() const;
OpenPOWER on IntegriCloud