diff options
author | Abseil Team <absl-team@google.com> | 2021-01-08 15:00:47 -0500 |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2021-01-13 20:59:28 -0500 |
commit | 50ce52016139a4346a94df71249c14c5d286e000 (patch) | |
tree | 2b42ba0312dae2de43cc2619c3a4eea2cbcc4664 /googletest/include/gtest/gtest-printers.h | |
parent | c13c27a513ecd1cbf5700a45fe590e85e8ae6770 (diff) | |
download | googletest-50ce52016139a4346a94df71249c14c5d286e000.tar.gz googletest-50ce52016139a4346a94df71249c14c5d286e000.zip |
Googletest export
Launder buffer before reference
In GCC, directly casting the Buffer reference to another type results in
strict-aliasing violation errors. This launders the reference using an
intermediate pointer prior to creating the new reference.
PiperOrigin-RevId: 350809323
Diffstat (limited to 'googletest/include/gtest/gtest-printers.h')
0 files changed, 0 insertions, 0 deletions