move visit_predicate
into TypeVisitor
#78278
+5
−16
Merged