Apply clang-tidy11 to correlationfunctions