Merge "Fix clang-tidy performance warnings in syste/core."