[LLVMdev] another question

Vikram S. Adve vadve at cs.uiuc.edu
Mon Sep 16 17:27:01 PDT 2002

> In general, you use those operations to cast from
> an object of some class to an object of one of its
> superclasses 

  That should say "subclasses", not "superclasses".

> (e.g., Value to Instruction).
> If you are not sure whether you can cast to a particular class, check if
> that class defines the classof() member functions.
> --Vikram

More information about the llvm-dev mailing list