[all-commits] [llvm/llvm-project] 85e03c: [clang-tidy] fix debug-only test failure

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Fri Nov 19 01:19:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1
      https://github.com/llvm/llvm-project/commit/85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1
  Author: Matt Beardsley <mbeardsl at mathworks.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp

  Log Message:
  -----------
  [clang-tidy] fix debug-only test failure

The clang-tidy/infrastructure/pr37091.cpp test inherits the top-level .clang-tidy configuration because it doesn't specify its own checks. It'd be a more stable test if it operates independently of the top-level .clang-tidy settings.

I've made the clang-tidy/infrastructure/pr37091.cpp test independent of the top-level .clang-tidy (picked an arbitrary check that I saw another clang-tidy/infrastructure test was also using: clang-tidy/infrastructure/temporaries.cpp)

Reviewed By: kbobyrev

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




More information about the All-commits mailing list