diff options
| -rw-r--r-- | llvm/tools/llvm-cov/llvm-cov.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/llvm-cov.cpp b/llvm/tools/llvm-cov/llvm-cov.cpp index 0a540b7a929..8c1ad8bedb3 100644 --- a/llvm/tools/llvm-cov/llvm-cov.cpp +++ b/llvm/tools/llvm-cov/llvm-cov.cpp @@ -50,7 +50,7 @@ int main(int argc, const char **argv) {        func = gcov_main;      if (func) { -      std::string Invocation(std::string() + argv[0] + " " + argv[1]); +      std::string Invocation = std::string(argv[0]) + " " + argv[1];        argv[1] = Invocation.c_str();        return func(argc - 1, argv + 1);      }  | 

