From: Chris Lattner Date: Sat, 9 Apr 2011 02:33:29 +0000 (+0000) Subject: fix doc comment bug, noticed by Jochen X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5fc25cccff3cdbfd34d08b9c1233f9af1879018c;p=oota-llvm.git fix doc comment bug, noticed by Jochen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index 6bb98064382..abb5a9aa11d 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -192,8 +192,8 @@ template struct cast_convert_val { // cast - Return the argument parameter cast to the specified type. This // casting operator asserts that the type is correct, so it does not return null -// on failure. But it will correctly return NULL when the input is NULL. -// Used Like this: +// on failure. It does not allow a null argument (use cast_or_null for that). +// It is typically used like this: // // cast(myVal)->getParent() //