TypeVisitor: use std::ops::ControlFlow instead of bool
#78182
Merged
std::ops::ControlFlow instead of bool
#78182