diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-27 18:26:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-27 18:26:28 +0000 |
commit | 88d942d8983aadecae477fee523c23312d194515 (patch) | |
tree | cc655475dbbf2c73282a827ced9ae068d2752a38 | |
parent | 2917ea11c34a4036a4add814a6b8489ece347f2e (diff) | |
download | external_llvm-88d942d8983aadecae477fee523c23312d194515.zip external_llvm-88d942d8983aadecae477fee523c23312d194515.tar.gz external_llvm-88d942d8983aadecae477fee523c23312d194515.tar.bz2 |
Spell `incompatible' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8163 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/Support/Casting.h | 4 | ||||
-rw-r--r-- | include/llvm/Support/Casting.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/Support/Casting.h b/include/Support/Casting.h index 476d3ae..a5a0955 100644 --- a/include/Support/Casting.h +++ b/include/Support/Casting.h @@ -184,7 +184,7 @@ template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> { // template <class X, class Y> inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { - assert(isa<X>(Val) && "cast<Ty>() argument of uncompatible type!"); + assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); return cast_convert_val<X, Y, typename simplify_type<Y>::SimpleType>::doit(Val); } @@ -195,7 +195,7 @@ inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { template <class X, class Y> inline typename cast_retty<X, Y*>::ret_type cast_or_null(Y *Val) { if (Val == 0) return 0; - assert(isa<X>(Val) && "cast_or_null<Ty>() argument of uncompatible type!"); + assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"); return cast<X>(Val); } diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index 476d3ae..a5a0955 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -184,7 +184,7 @@ template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> { // template <class X, class Y> inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { - assert(isa<X>(Val) && "cast<Ty>() argument of uncompatible type!"); + assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); return cast_convert_val<X, Y, typename simplify_type<Y>::SimpleType>::doit(Val); } @@ -195,7 +195,7 @@ inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { template <class X, class Y> inline typename cast_retty<X, Y*>::ret_type cast_or_null(Y *Val) { if (Val == 0) return 0; - assert(isa<X>(Val) && "cast_or_null<Ty>() argument of uncompatible type!"); + assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"); return cast<X>(Val); } |