[all-commits] [llvm/llvm-project] ef7273: [Bazel] Don't fail the build on usage of deprecate...

Geoffrey Martin-Noble via All-commits all-commits at lists.llvm.org
Mon Jan 31 18:09:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef72739eac18a92dac587e56a39addf0ec9bb05e
      https://github.com/llvm/llvm-project/commit/ef72739eac18a92dac587e56a39addf0ec9bb05e
  Author: Geoffrey Martin-Noble <gcmn at google.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M utils/bazel/.bazelrc

  Log Message:
  -----------
  [Bazel] Don't fail the build on usage of deprecated APIs

Build failures are not a particularly helpful way to enforce not using
deprecated APIs and that isn't the point of the Bazel build.

At the same time, this removes `-Wno-unused` this is a check that we do
enforce in the Google internal build and so are ok maintaining in our
maintenance of the upstream Bazel build (the comment about not wanting
to do so was from a time when this was in a separate repository and I was
the only one maintaining it).

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




More information about the All-commits mailing list