Work around gcc's inability to compile an incomplete type in googletest,
leading to hundreds of lines of fairly unreadable error messages. I don't think we particularly care about the specific source file gcc dies on, and the many layers of macros and sub-types in googletest make it very hard to diagnose whether this is a bug in googletest, gcc, clang or libc++.
This commit is contained in:
parent
23e2b4d9b1
commit
c950e61287
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang900-import/; revision=352336
@ -107,7 +107,8 @@ using testing::internal::CaptureStdout;
|
|||||||
using testing::internal::GetCapturedStdout;
|
using testing::internal::GetCapturedStdout;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class Incomplete;
|
class Incomplete {
|
||||||
|
};
|
||||||
|
|
||||||
class MockIncomplete {
|
class MockIncomplete {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user