summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/ProgramTest.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-04-22 20:58:09 +0000
committerReid Kleckner <reid@kleckner.net>2013-04-22 20:58:09 +0000
commit7ff21d934efdb5d9bf4c18a6774d10b81628b063 (patch)
treeb02adc24b3001692fe727b2fc91f008015e37b81 /llvm/unittests/Support/ProgramTest.cpp
parent10260a75e3b06ae938689c174ff99fa7c3a27ce0 (diff)
downloadbcm5719-llvm-7ff21d934efdb5d9bf4c18a6774d10b81628b063.tar.gz
bcm5719-llvm-7ff21d934efdb5d9bf4c18a6774d10b81628b063.zip
Add a missing reference on a std::vector<> out param
Pointed out by Eli. The test passes for me either way, so I missed this. llvm-svn: 180046
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
-rwxr-xr-xllvm/unittests/Support/ProgramTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ProgramTest.cpp b/llvm/unittests/Support/ProgramTest.cpp
index 479b6b57ec2..9dd9ccd11b7 100755
--- a/llvm/unittests/Support/ProgramTest.cpp
+++ b/llvm/unittests/Support/ProgramTest.cpp
@@ -24,7 +24,7 @@ ProgramTestStringArg1("program-test-string-arg1");
static cl::opt<std::string>
ProgramTestStringArg2("program-test-string-arg2");
-static void CopyEnvironment(std::vector<const char *> out) {
+static void CopyEnvironment(std::vector<const char *> &out) {
// environ appears to be pretty portable.
char **envp = environ;
while (*envp != 0) {
OpenPOWER on IntegriCloud