File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -878,18 +878,18 @@ inline constexpr detail::IsaAndPresentCheckPredicate<Types...>
878878 IsaAndPresentPred{};
879879
880880// / Function objects corresponding to the Cast types defined above.
881- template <typename From >
882- inline constexpr detail::StaticCastFunc<From > StaticCastTo{};
881+ template <typename To >
882+ inline constexpr detail::StaticCastFunc<To > StaticCastTo{};
883883
884- template <typename From > inline constexpr detail::CastFunc<From > CastTo{};
884+ template <typename To > inline constexpr detail::CastFunc<To > CastTo{};
885885
886- template <typename From >
887- inline constexpr detail::CastIfPresentFunc<From > CastIfPresentTo{};
886+ template <typename To >
887+ inline constexpr detail::CastIfPresentFunc<To > CastIfPresentTo{};
888888
889- template <typename From >
890- inline constexpr detail::DynCastIfPresentFunc<From > DynCastIfPresentTo{};
889+ template <typename To >
890+ inline constexpr detail::DynCastIfPresentFunc<To > DynCastIfPresentTo{};
891891
892- template <typename From > inline constexpr detail::DynCastFunc<From > DynCastTo{};
892+ template <typename To > inline constexpr detail::DynCastFunc<To > DynCastTo{};
893893
894894} // end namespace llvm
895895
You can’t perform that action at this time.
0 commit comments