[llvm-commits] [llvm] r91718 - /llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h
Eli Friedman
eli.friedman at gmail.com
Fri Dec 18 13:38:44 PST 2009
Author: efriedma
Date: Fri Dec 18 15:38:44 2009
New Revision: 91718
URL: http://llvm.org/viewvc/llvm-project?rev=91718&view=rev
Log:
Fix an issue in googletest where a name was used before it was defined.
Modified:
llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h
Modified: llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h?rev=91718&r1=91717&r2=91718&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h (original)
+++ llvm/trunk/utils/unittest/googletest/include/gtest/gtest-param-test.h Fri Dec 18 15:38:44 2009
@@ -155,7 +155,6 @@
#include <gtest/internal/gtest-internal.h>
#include <gtest/internal/gtest-param-util.h>
-#include <gtest/internal/gtest-param-util-generated.h>
namespace testing {
@@ -289,6 +288,12 @@
return ValuesIn(container.begin(), container.end());
}
+} // namespace testing
+
+#include <gtest/internal/gtest-param-util-generated.h>
+
+namespace testing {
+
// Values() allows generating tests from explicitly specified list of
// parameters.
//
More information about the llvm-commits
mailing list