From 643b00a3e6eb731176fab7c2f003376580fcb75b Mon Sep 17 00:00:00 2001
From: Chris Lattner
The cast<> operator is a "checked cast" operation. It - converts a pointer or reference from a base class to a derived cast, causing + converts a pointer or reference from a base class to a derived class, causing an assertion failure if it is not really an instance of the right type. This should be used in cases where you have some information that makes you believe that something is of the right type. An example of the isa<> -- cgit v1.2.3