Author: Matt Beardsley Date: 2021-11-19T10:19:07+01:00 New Revision: 85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1
URL: https://github.com/llvm/llvm-project/commit/85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1 DIFF: https://github.com/llvm/llvm-project/commit/85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1.diff LOG: [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 Added: Modified: clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp b/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp index e56115a5fe8ec..6772e9d29f34d 100644 --- a/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp +++ b/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp @@ -6,5 +6,5 @@ // // Verify that no temporary files are left behind by the clang-tidy invocation. -// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy %s -- --target=mips64 +// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy -checks='-*,clang-analyzer-core.NullDereference' %s -- --target=mips64 // RUN: rmdir %t _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits