s/dyn_cast/cast/ where return value should never be null.
cast<X> asserts the type is correct and does not return null on failure. So we should use cast<X> rather than dyn_cast<X> at such places where we don't expect type conversion could fail. llvm-svn: 205332
Loading
Please sign in to comment