Apply most suggestions of clang-tidy's performance-unnecessary-value-param

Avoids unnecessary copies. All changes audited & pass tests with asan.
No functional change intended.

llvm-svn: 272190
This commit is contained in:
Benjamin Kramer
2016-06-08 19:09:22 +00:00
parent 19e88c1ff6
commit c321e53402
48 changed files with 108 additions and 108 deletions

View File

@@ -72,7 +72,7 @@ public:
int run(Command Cmd, int argc, const char **argv);
typedef std::function<int(int, const char **)> CommandLineParserType;
typedef llvm::function_ref<int(int, const char **)> CommandLineParserType;
int show(int argc, const char **argv,
CommandLineParserType commandLineParser);