summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-27 18:26:28 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-27 18:26:28 +0000
commita26dd3ba054d535e6091abf79b281db3480341b5 (patch)
treea15f45b6c94c5112c678bdbae608ac96fcdc4d7d
parent9ffbb367a4697f25d6b9f2b60fcf757555bef3d5 (diff)
downloadbcm5719-llvm-a26dd3ba054d535e6091abf79b281db3480341b5.tar.gz
bcm5719-llvm-a26dd3ba054d535e6091abf79b281db3480341b5.zip
Spell `incompatible' correctly.
llvm-svn: 8163
-rw-r--r--llvm/include/Support/Casting.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/Support/Casting.h b/llvm/include/Support/Casting.h
index 476d3ae681f..a5a0955c516 100644
--- a/llvm/include/Support/Casting.h
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud