Patrik Hagglund 6c0e053dc9 Alternative (to r216344) fix of gcc -Wpedantic.
As suggested by David Blaikie, this may be easier to read.

The original warning was:

../tools/llvm-cov/llvm-cov.cpp:53:49: error: ISO C++ forbids zero-size array 'argv' [-Werror=pedantic]
       std::string Invocation(std::string(argv[0]) + " " + argv[1]);

It seems to be the case that GCC's warning gets confused and thinks
'argv' is a declaration here. GCC bugzilla issue #61259.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218048 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-18 11:52:57 +00:00
..
2014-09-02 22:28:02 +00:00
2014-09-10 12:51:52 +00:00
2014-09-15 19:42:42 +00:00
2014-08-01 06:16:03 +00:00
2014-08-01 14:57:05 +00:00
2014-09-15 19:42:42 +00:00
2014-09-16 03:52:46 +00:00