From: Misha Brukman Date: Wed, 27 Aug 2003 18:26:28 +0000 (+0000) Subject: Spell `incompatible' correctly. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=88d942d8983aadecae477fee523c23312d194515;p=oota-llvm.git Spell `incompatible' correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8163 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/Casting.h b/include/Support/Casting.h index 476d3ae681f..a5a0955c516 100644 --- a/include/Support/Casting.h +++ b/include/Support/Casting.h @@ -184,7 +184,7 @@ template struct cast_convert_val { // template inline typename cast_retty::ret_type cast(const Y &Val) { - assert(isa(Val) && "cast() argument of uncompatible type!"); + assert(isa(Val) && "cast() argument of incompatible type!"); return cast_convert_val::SimpleType>::doit(Val); } @@ -195,7 +195,7 @@ inline typename cast_retty::ret_type cast(const Y &Val) { template inline typename cast_retty::ret_type cast_or_null(Y *Val) { if (Val == 0) return 0; - assert(isa(Val) && "cast_or_null() argument of uncompatible type!"); + assert(isa(Val) && "cast_or_null() argument of incompatible type!"); return cast(Val); } diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index 476d3ae681f..a5a0955c516 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -184,7 +184,7 @@ template struct cast_convert_val { // template inline typename cast_retty::ret_type cast(const Y &Val) { - assert(isa(Val) && "cast() argument of uncompatible type!"); + assert(isa(Val) && "cast() argument of incompatible type!"); return cast_convert_val::SimpleType>::doit(Val); } @@ -195,7 +195,7 @@ inline typename cast_retty::ret_type cast(const Y &Val) { template inline typename cast_retty::ret_type cast_or_null(Y *Val) { if (Val == 0) return 0; - assert(isa(Val) && "cast_or_null() argument of uncompatible type!"); + assert(isa(Val) && "cast_or_null() argument of incompatible type!"); return cast(Val); }