summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-20 18:45:36 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-20 18:45:36 +0000
commitf117cc9ee656fa31ea933127757ffc9cd5f21a76 (patch)
tree4032b02392b88c6a10167f891961505f7d22efeb /lib/VMCore
parentd5bd008265c57b31d6496a105e925168c67aaeed (diff)
downloadllvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.tar.gz
llvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.tar.bz2
llvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.tar.xz
s/convertable/convertible/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Type.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 398937aa18..237449302c 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -82,10 +82,10 @@ const Type *Type::getPrimitiveType(PrimitiveID IDNumber) {
}
}
-// isLosslesslyConvertableTo - Return true if this type can be converted to
+// isLosslesslyConvertibleTo - Return true if this type can be converted to
// 'Ty' without any reinterpretation of bits. For example, uint to int.
//
-bool Type::isLosslesslyConvertableTo(const Type *Ty) const {
+bool Type::isLosslesslyConvertibleTo(const Type *Ty) const {
if (this == Ty) return true;
if ((!isPrimitiveType() && !isa<PointerType>(this)) ||
(!isa<PointerType>(Ty) && !Ty->isPrimitiveType())) return false;