Merge pull request #1433 from dsacre/fix-clang-warnings

Fix Clang warnings
This commit is contained in:
Gennadiy Civil 2018-08-31 11:21:57 -04:00 committed by GitHub
commit 2fe3bd994b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 443 additions and 23 deletions

View File

@ -37,7 +37,6 @@
// This file is generated by a SCRIPT. DO NOT EDIT BY HAND!
//
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
#define GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
@ -1413,24 +1412,22 @@ internal::CartesianProductHolder10<Generator1, Generator2, Generator3,
# define INSTANTIATE_TEST_CASE_P(prefix, test_case_name, generator, ...) \
static ::testing::internal::ParamGenerator<test_case_name::ParamType> \
gtest_##prefix##test_case_name##_EvalGenerator_() { \
return generator; \
} \
gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \
static ::std::string gtest_##prefix##test_case_name##_EvalGenerateName_( \
const ::testing::TestParamInfo<test_case_name::ParamType>& info) { \
return ::testing::internal::GetParamNameGen<test_case_name::ParamType>( \
__VA_ARGS__)(info); \
return ::testing::internal::GetParamNameGen<test_case_name::ParamType> \
(__VA_ARGS__)(info); \
} \
static int gtest_##prefix##test_case_name##_dummy_ GTEST_ATTRIBUTE_UNUSED_ = \
::testing::UnitTest::GetInstance() \
->parameterized_test_registry() \
.GetTestCasePatternHolder<test_case_name>( \
::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
GetTestCasePatternHolder<test_case_name>(\
#test_case_name, \
::testing::internal::CodeLocation(__FILE__, __LINE__)) \
->AddTestCaseInstantiation( \
#prefix, &gtest_##prefix##test_case_name##_EvalGenerator_, \
&gtest_##prefix##test_case_name##_EvalGenerateName_, __FILE__, \
__LINE__)
::testing::internal::CodeLocation(\
__FILE__, __LINE__))->AddTestCaseInstantiation(\
#prefix, \
&gtest_##prefix##test_case_name##_EvalGenerator_, \
&gtest_##prefix##test_case_name##_EvalGenerateName_, \
__FILE__, __LINE__)
} // namespace testing

View File

@ -206,7 +206,8 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes);
typedef gtest_TypeParam_ TypeParam; \
virtual void TestBody(); \
}; \
bool gtest_##CaseName##_##TestName##_registered_ GTEST_ATTRIBUTE_UNUSED_ = \
static bool gtest_##CaseName##_##TestName##_registered_ \
GTEST_ATTRIBUTE_UNUSED_ = \
::testing::internal::TypeParameterizedTest< \
CaseName, \
::testing::internal::TemplateSel<GTEST_TEST_CLASS_NAME_(CaseName, \
@ -287,7 +288,7 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, MyTypes);
// since some compilers may choke on '>>' when passing a template
// instance (e.g. Types<int>)
# define INSTANTIATE_TYPED_TEST_CASE_P(Prefix, CaseName, Types, ...) \
bool gtest_##Prefix##_##CaseName GTEST_ATTRIBUTE_UNUSED_ = \
static bool gtest_##Prefix##_##CaseName GTEST_ATTRIBUTE_UNUSED_ = \
::testing::internal::TypeParameterizedTestCase< \
CaseName, GTEST_CASE_NAMESPACE_(CaseName)::gtest_AllTests_, \
::testing::internal::TypeList< Types >::type>:: \

View File

@ -116,6 +116,10 @@ GTEST_DECLARE_string_(color);
// the tests to run. If the filter is not given all tests are executed.
GTEST_DECLARE_string_(filter);
// This flag controls whether Google Test installs a signal handler that dumps
// debugging information when fatal signals are raised.
GTEST_DECLARE_bool_(install_failure_signal_handler);
// This flag causes the Google Test to list tests. None of the tests listed
// are actually run if the flag is provided.
GTEST_DECLARE_bool_(list_tests);
@ -159,6 +163,10 @@ GTEST_DECLARE_bool_(throw_on_failure);
// the specified host machine.
GTEST_DECLARE_string_(stream_result_to);
#if GTEST_USE_OWN_FLAGFILE_FLAG_
GTEST_DECLARE_string_(flagfile);
#endif // GTEST_USE_OWN_FLAGFILE_FLAG_
// The upper limit for valid stack trace depths.
const int kMaxStackTraceDepth = 100;

View File

@ -80,6 +80,8 @@ class ValueArray1 {
return ValuesIn(array);
}
ValueArray1(const ValueArray1& other) : v1_(other.v1_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray1& other);
@ -98,6 +100,8 @@ class ValueArray2 {
return ValuesIn(array);
}
ValueArray2(const ValueArray2& other) : v1_(other.v1_), v2_(other.v2_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray2& other);
@ -118,6 +122,9 @@ class ValueArray3 {
return ValuesIn(array);
}
ValueArray3(const ValueArray3& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray3& other);
@ -140,6 +147,9 @@ class ValueArray4 {
return ValuesIn(array);
}
ValueArray4(const ValueArray4& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray4& other);
@ -163,6 +173,9 @@ class ValueArray5 {
return ValuesIn(array);
}
ValueArray5(const ValueArray5& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray5& other);
@ -189,6 +202,9 @@ class ValueArray6 {
return ValuesIn(array);
}
ValueArray6(const ValueArray6& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray6& other);
@ -216,6 +232,10 @@ class ValueArray7 {
return ValuesIn(array);
}
ValueArray7(const ValueArray7& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray7& other);
@ -245,6 +265,10 @@ class ValueArray8 {
return ValuesIn(array);
}
ValueArray8(const ValueArray8& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray8& other);
@ -276,6 +300,10 @@ class ValueArray9 {
return ValuesIn(array);
}
ValueArray9(const ValueArray9& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray9& other);
@ -308,6 +336,10 @@ class ValueArray10 {
return ValuesIn(array);
}
ValueArray10(const ValueArray10& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray10& other);
@ -342,6 +374,11 @@ class ValueArray11 {
return ValuesIn(array);
}
ValueArray11(const ValueArray11& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray11& other);
@ -378,6 +415,11 @@ class ValueArray12 {
return ValuesIn(array);
}
ValueArray12(const ValueArray12& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray12& other);
@ -416,6 +458,11 @@ class ValueArray13 {
return ValuesIn(array);
}
ValueArray13(const ValueArray13& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray13& other);
@ -455,6 +502,11 @@ class ValueArray14 {
return ValuesIn(array);
}
ValueArray14(const ValueArray14& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray14& other);
@ -496,6 +548,12 @@ class ValueArray15 {
return ValuesIn(array);
}
ValueArray15(const ValueArray15& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray15& other);
@ -540,6 +598,12 @@ class ValueArray16 {
return ValuesIn(array);
}
ValueArray16(const ValueArray16& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray16& other);
@ -585,6 +649,12 @@ class ValueArray17 {
return ValuesIn(array);
}
ValueArray17(const ValueArray17& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray17& other);
@ -632,6 +702,12 @@ class ValueArray18 {
return ValuesIn(array);
}
ValueArray18(const ValueArray18& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray18& other);
@ -680,6 +756,13 @@ class ValueArray19 {
return ValuesIn(array);
}
ValueArray19(const ValueArray19& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray19& other);
@ -730,6 +813,13 @@ class ValueArray20 {
return ValuesIn(array);
}
ValueArray20(const ValueArray20& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray20& other);
@ -783,6 +873,13 @@ class ValueArray21 {
return ValuesIn(array);
}
ValueArray21(const ValueArray21& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray21& other);
@ -837,6 +934,13 @@ class ValueArray22 {
return ValuesIn(array);
}
ValueArray22(const ValueArray22& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray22& other);
@ -893,6 +997,14 @@ class ValueArray23 {
return ValuesIn(array);
}
ValueArray23(const ValueArray23& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray23& other);
@ -951,6 +1063,14 @@ class ValueArray24 {
return ValuesIn(array);
}
ValueArray24(const ValueArray24& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray24& other);
@ -1010,6 +1130,14 @@ class ValueArray25 {
return ValuesIn(array);
}
ValueArray25(const ValueArray25& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray25& other);
@ -1071,6 +1199,14 @@ class ValueArray26 {
return ValuesIn(array);
}
ValueArray26(const ValueArray26& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray26& other);
@ -1135,6 +1271,15 @@ class ValueArray27 {
return ValuesIn(array);
}
ValueArray27(const ValueArray27& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray27& other);
@ -1200,6 +1345,15 @@ class ValueArray28 {
return ValuesIn(array);
}
ValueArray28(const ValueArray28& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray28& other);
@ -1266,6 +1420,15 @@ class ValueArray29 {
return ValuesIn(array);
}
ValueArray29(const ValueArray29& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray29& other);
@ -1335,6 +1498,15 @@ class ValueArray30 {
return ValuesIn(array);
}
ValueArray30(const ValueArray30& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray30& other);
@ -1406,6 +1578,16 @@ class ValueArray31 {
return ValuesIn(array);
}
ValueArray31(const ValueArray31& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray31& other);
@ -1478,6 +1660,16 @@ class ValueArray32 {
return ValuesIn(array);
}
ValueArray32(const ValueArray32& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray32& other);
@ -1553,6 +1745,16 @@ class ValueArray33 {
return ValuesIn(array);
}
ValueArray33(const ValueArray33& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray33& other);
@ -1629,6 +1831,16 @@ class ValueArray34 {
return ValuesIn(array);
}
ValueArray34(const ValueArray34& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray34& other);
@ -1706,6 +1918,17 @@ class ValueArray35 {
return ValuesIn(array);
}
ValueArray35(const ValueArray35& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray35& other);
@ -1786,6 +2009,17 @@ class ValueArray36 {
return ValuesIn(array);
}
ValueArray36(const ValueArray36& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray36& other);
@ -1868,6 +2102,17 @@ class ValueArray37 {
return ValuesIn(array);
}
ValueArray37(const ValueArray37& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray37& other);
@ -1951,6 +2196,17 @@ class ValueArray38 {
return ValuesIn(array);
}
ValueArray38(const ValueArray38& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray38& other);
@ -2036,6 +2292,18 @@ class ValueArray39 {
return ValuesIn(array);
}
ValueArray39(const ValueArray39& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray39& other);
@ -2123,6 +2391,18 @@ class ValueArray40 {
return ValuesIn(array);
}
ValueArray40(const ValueArray40& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray40& other);
@ -2212,6 +2492,18 @@ class ValueArray41 {
return ValuesIn(array);
}
ValueArray41(const ValueArray41& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray41& other);
@ -2303,6 +2595,18 @@ class ValueArray42 {
return ValuesIn(array);
}
ValueArray42(const ValueArray42& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray42& other);
@ -2395,6 +2699,19 @@ class ValueArray43 {
return ValuesIn(array);
}
ValueArray43(const ValueArray43& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray43& other);
@ -2489,6 +2806,19 @@ class ValueArray44 {
return ValuesIn(array);
}
ValueArray44(const ValueArray44& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray44& other);
@ -2585,6 +2915,19 @@ class ValueArray45 {
return ValuesIn(array);
}
ValueArray45(const ValueArray45& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray45& other);
@ -2683,6 +3026,19 @@ class ValueArray46 {
return ValuesIn(array);
}
ValueArray46(const ValueArray46& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_), v46_(other.v46_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray46& other);
@ -2783,6 +3139,20 @@ class ValueArray47 {
return ValuesIn(array);
}
ValueArray47(const ValueArray47& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_), v46_(other.v46_),
v47_(other.v47_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray47& other);
@ -2885,6 +3255,20 @@ class ValueArray48 {
return ValuesIn(array);
}
ValueArray48(const ValueArray48& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_), v46_(other.v46_),
v47_(other.v47_), v48_(other.v48_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray48& other);
@ -2988,6 +3372,20 @@ class ValueArray49 {
return ValuesIn(array);
}
ValueArray49(const ValueArray49& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_), v46_(other.v46_),
v47_(other.v47_), v48_(other.v48_), v49_(other.v49_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray49& other);
@ -3092,6 +3490,20 @@ class ValueArray50 {
return ValuesIn(array);
}
ValueArray50(const ValueArray50& other) : v1_(other.v1_), v2_(other.v2_),
v3_(other.v3_), v4_(other.v4_), v5_(other.v5_), v6_(other.v6_),
v7_(other.v7_), v8_(other.v8_), v9_(other.v9_), v10_(other.v10_),
v11_(other.v11_), v12_(other.v12_), v13_(other.v13_), v14_(other.v14_),
v15_(other.v15_), v16_(other.v16_), v17_(other.v17_), v18_(other.v18_),
v19_(other.v19_), v20_(other.v20_), v21_(other.v21_), v22_(other.v22_),
v23_(other.v23_), v24_(other.v24_), v25_(other.v25_), v26_(other.v26_),
v27_(other.v27_), v28_(other.v28_), v29_(other.v29_), v30_(other.v30_),
v31_(other.v31_), v32_(other.v32_), v33_(other.v33_), v34_(other.v34_),
v35_(other.v35_), v36_(other.v36_), v37_(other.v37_), v38_(other.v38_),
v39_(other.v39_), v40_(other.v40_), v41_(other.v41_), v42_(other.v42_),
v43_(other.v43_), v44_(other.v44_), v45_(other.v45_), v46_(other.v46_),
v47_(other.v47_), v48_(other.v48_), v49_(other.v49_), v50_(other.v50_) {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray50& other);

View File

@ -83,6 +83,8 @@ class ValueArray$i {
return ValuesIn(array);
}
ValueArray$i(const ValueArray$i& other) : $for j, [[v$(j)_(other.v$(j)_)]] {}
private:
// No implementation - assignment is unsupported.
void operator=(const ValueArray$i& other);

View File

@ -427,7 +427,7 @@ void AssertHelper::operator=(const Message& message) const {
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_(g_linked_ptr_mutex);
// A copy of all command line arguments. Set by InitGoogleTest().
::std::vector<std::string> g_argvs;
static ::std::vector<std::string> g_argvs;
::std::vector<std::string> GetArgvs() {
#if defined(GTEST_CUSTOM_GET_ARGVS_)