[llvm-commits] CVS: llvm/include/Support/Casting.h

Misha Brukman brukman at cs.uiuc.edu
Wed Aug 27 13:27:04 PDT 2003


Changes in directory llvm/include/Support:

Casting.h updated: 1.6 -> 1.7

---
Log message:

Spell `incompatible' correctly.


---
Diffs of the changes:

Index: llvm/include/Support/Casting.h
diff -u llvm/include/Support/Casting.h:1.6 llvm/include/Support/Casting.h:1.7
--- llvm/include/Support/Casting.h:1.6	Mon Jun 30 16:58:23 2003
+++ llvm/include/Support/Casting.h	Wed Aug 27 13:26:28 2003
@@ -184,7 +184,7 @@
 //
 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 @@
 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);
 }
 





More information about the llvm-commits mailing list