Derek Mauro 7d7e750850 Fix "error: standard attributes in middle of decl-specifiers"
Between the friend declaration, visibility declaration, and
attribute placement rules, compilers can't seem to agree on the
how to write this, so I switched to a static factory function.

Fixes https://github.com/google/googletest/issues/4881

PiperOrigin-RevId: 852842303
Change-Id: I7fe737819abf05ea2911693f8d93683446e326cc
2026-01-06 10:37:35 -08:00
..
gmock_main.cc Merge pull request #4302 from ciband:feat/nrf52 2023-07-18 08:16:57 -07:00
gmock-all.cc Comments changes, no functionality changes 2018-08-14 14:04:07 -04:00
gmock-cardinalities.cc Run clang-format. 2024-07-23 03:57:23 -07:00
gmock-internal-utils.cc Fix "error: standard attributes in middle of decl-specifiers" 2026-01-06 10:37:35 -08:00
gmock-matchers.cc Print mismatches for UnorderedElements() of different sizes. 2024-05-20 07:36:47 -07:00
gmock-spec-builders.cc Switch to referenceful lock holder for Abseil compatibility 2025-11-11 18:56:52 -08:00
gmock.cc Add missing std includes 2023-04-20 14:29:09 -07:00