Googletest export

Add support for ref qualifiers in MOCK_METHOD.

PiperOrigin-RevId: 341047839
This commit is contained in:
Abseil Team
2020-11-06 10:47:09 -05:00
committed by Andy Getz
parent 710f9c11ca
commit d89b363021
3 changed files with 117 additions and 27 deletions

View File

@@ -37,6 +37,9 @@ generated method:
`noexcept` method.
* **`Calltype(...)`** - Sets the call type for the method (e.g. to
`STDMETHODCALLTYPE`), useful in Windows.
* **`ref(...)`** - Marks the method with the reference qualification
specified. Required if overriding a method that has reference
qualifications. Eg `ref(&)` or `ref(&&)`.
### Dealing with unprotected commas