Homec4science

Merge pull request #2527 from PiotrNycz:gmock_prevent_return_ref_to_store_tempo…

Authored by vslashg <gfalcon@google.com> on Oct 29 2019, 21:51.

Description

Merge pull request #2527 from PiotrNycz:gmock_prevent_return_ref_to_store_temporaries_2

PiperOrigin-RevId: 277061341

Event Timeline

vslashg <gfalcon@google.com> committed R9484:b5fb5ba05cb6: Merge pull request #2527 from PiotrNycz:gmock_prevent_return_ref_to_store_tempo… (authored by vslashg <gfalcon@google.com>).Oct 29 2019, 21:51

Merged Changes

CommitAuthorDetailsCommitted
208c2f6b6076Piotr Nycz
variable names corrected (followed google coding style) 
Oct 25 2019
5ff72f5295f3Piotr Nycz
Apply 80chars limit 
Oct 25 2019
d072682119f8Piotr Nycz
Tests simplified and names corrected (POD->scalar) 
Oct 24 2019
37590da6c08fPiotr Nycz
Added more tests to verify: ReturnRef not accept temporary 
Oct 23 2019
19a3bbce512dPiotr Nycz
Added tests verifying that temporaries are accepted by ReturnRef 
Oct 22 2019
b11fb80e9e94Piotr Nycz
Prevent using ReturnRef on reference to temporary 
Oct 22 2019