Makes Google Mock compile much faster and use much less memory; reviewed by Nico Weber. This fixes issue 68.

This commit is contained in:
zhanyong.wan
2011-02-23 19:39:27 +00:00
parent b3e904227f
commit ed6c9277bb
8 changed files with 818 additions and 575 deletions

View File

@@ -261,8 +261,8 @@ def _IncompleteByReferenceArgumentDiagnoser(msg):
r'(.*\n)*?' +
_CLANG_NON_GMOCK_FILE_LINE_RE +
r'note: in instantiation of member function '
r'\'testing::internal::FunctionMocker<.*>::Invoke\' '
r'requested here')
r'\'testing::internal2::TypeWithoutFormatter<.*>::'
r'PrintValue\' requested here')
diagnosis = """
In order to mock this function, Google Mock needs to see the definition
of type "%(type)s" - declaration alone is not enough. Either #include