From d37d46dfbcedadeb439ad0367f8afcf8867dca43 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Sat, 25 Apr 2009 02:53:47 +0000 Subject: Integrate recent changes from Google-internal code tree. See CHANGES.txt for details. --- src/google/protobuf/test_util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/google/protobuf/test_util.h') diff --git a/src/google/protobuf/test_util.h b/src/google/protobuf/test_util.h index ca840c71..1bedb788 100644 --- a/src/google/protobuf/test_util.h +++ b/src/google/protobuf/test_util.h @@ -137,6 +137,12 @@ class TestUtil { const EnumValueDescriptor* import_bar_; const EnumValueDescriptor* import_baz_; + // We have to split this into three function otherwise it creates a stack + // frame so large that it triggers a warning. + void ExpectAllFieldsSetViaReflection1(const Message& message); + void ExpectAllFieldsSetViaReflection2(const Message& message); + void ExpectAllFieldsSetViaReflection3(const Message& message); + GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ReflectionTester); }; -- cgit v1.2.3