Displaying 2 results from an estimated 2 matches for "5dc6bed9".
2010 Jul 22
0
[LLVMdev] Casting.h illness
...one thing that is still irritating me:
dyn_cast_or_null and cast_or_null have different interfaces. Should
these be made consistent?
Cheers,
Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100722/5dc6bed9/attachment.html>
2010 Jul 21
2
[LLVMdev] Casting.h illness
On Jul 21, 2010, at 12:49 PM, Eugene Toder wrote:
> Is this a recommended approach/good style/good idea to use
> dyn_cast_or_null<X>(I) instead of dyn_cast_or_null<X>(*I)? (And other
> is and cast functions).
We generally don't want auto-dereference. There is some special magic for unwrapping Uses etc though. Is this what you're in contact with Gabor?
-Chris
>