• Abseil Team's avatar
    Shut up a Clang warning. · 3fa7f983
    Abseil Team authored
    Clang warns on this pattern because it looks like the author might
    have meant to use the value of the first part of the comma operator,
    so it warns that it isn't being used. The cast here signals to Clang
    that this behavior is intentional.
    
    This was discovered while updating gmock in Android. Clang's -Wcomma
    warning is on by default with either -Wall or -Werror, so users of
    gmock with those on in combination with -Werror are unable to build
    without this fix.
    
    PiperOrigin-RevId: 495655990
    Change-Id: Iaf27e2199669f5b6185a877738234e551b6b6556
    3fa7f983
gmock-matchers.h 205 KB