Static analyser cppcheck says: clang/lib/Format/Format.cpp:3581:49: performance: Function parameter 'Ranges' should be passed by const reference. [passedByValue] Source code is std::vector<tooling::Range> Ranges, This might be worth using a constant reference on.