diff options
author | kosak <kosak@google.com> | 2015-04-28 22:36:31 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2015-04-28 22:36:31 +0000 |
commit | 6305ff5a922ddf3b428f08ad3b53d07d2c08d89a (patch) | |
tree | 24c9b7b5a78b756ceb6bca09336124c403a03703 /scripts/gmock_doctor.py | |
parent | 5625dd333a621932c469e2261fd9f0c8687378f8 (diff) | |
download | googletest-6305ff5a922ddf3b428f08ad3b53d07d2c08d89a.tar.gz googletest-6305ff5a922ddf3b428f08ad3b53d07d2c08d89a.tar.bz2 googletest-6305ff5a922ddf3b428f08ad3b53d07d2c08d89a.zip |
Change IsNull and NotNull to use ==/!= nullptr in C++11.
Also update gmock_doctor due to Clang wording change.
Diffstat (limited to 'scripts/gmock_doctor.py')
-rwxr-xr-x | scripts/gmock_doctor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gmock_doctor.py b/scripts/gmock_doctor.py index e6e6a521..c6a8a900 100755 --- a/scripts/gmock_doctor.py +++ b/scripts/gmock_doctor.py @@ -362,7 +362,7 @@ def _MockObjectPointerDiagnoser(msg): r'which is of non-class type \'(.*::)*(?P<class_name>.+)\*\'') clang_regex = (_CLANG_FILE_LINE_RE + r'error: member reference type ' r'\'(?P<class_name>.*?) *\' is a pointer; ' - r'maybe you meant to use \'->\'\?') + r'(did you mean|maybe you meant) to use \'->\'\?') diagnosis = """ The first argument to ON_CALL() and EXPECT_CALL() must be a mock *object*, not a *pointer* to it. Please write '*(%(mock_object)s)' instead of |