[all-commits] [llvm/llvm-project] b125c0: Only ignore -Wdeprecated-copy if the used compiler...

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Mon Apr 26 07:01:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b125c034af89e32d5258d593080ff0c4810776a0
      https://github.com/llvm/llvm-project/commit/b125c034af89e32d5258d593080ff0c4810776a0
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
    M llvm/utils/unittest/googlemock/include/gmock/gmock.h
    M llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h

  Log Message:
  -----------
  Only ignore -Wdeprecated-copy if the used compiler supports the warning

This is needed after
  https://reviews.llvm.org/rG9658d045926545e62cc3f963fe611d7c5d0c9d98
which introduced code that at least didn't compile clean with clang 8.

Reviewed By: xbolva00

Differential Revision: https://reviews.llvm.org/D101288




More information about the All-commits mailing list