On Feb 21, 2013, at 14:23 , David Blaikie <[email protected]> wrote:
> + /// \brief Convert to the specified TypeLoc type, asserting that this > TypeLoc > + /// is of the desired type. s/TypeLoc/ProgramPoint/? (Was this in the last one as well?) > - const CallExitEnd *CExit = dyn_cast<CallExitEnd>(&P); > + Optional<CallExitEnd> CExit = P.getAs<CallExitEnd>(); > assert(CExit && "Stack Hints should be constructed at CallExitEnd points."); Despite the assert message, this should probably just use castAs to get better Release build code. Thanks one more time... Jordan
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
