
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
11 lines
315 B
C++
11 lines
315 B
C++
// REQUIRES: shell
|
|
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
|
|
// This is a reproducer for PR37091.
|
|
//
|
|
// Verify that no temporary files are left behind by the clang-tidy invocation.
|
|
|
|
// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy -checks='-*,clang-analyzer-core.NullDereference' %s -- --target=mips64
|
|
// RUN: rmdir %t
|