llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-tidy

Author: None (google-yfyang)

<details>
<summary>Changes</summary>

#<!-- -->157306 removes some default checks and this breaks a few tests where 
no checks were explicitly specified. 

---
Full diff: https://github.com/llvm/llvm-project/pull/170895.diff


2 Files Affected:

- (modified) 
clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp (+1-1) 
- (modified) 
clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp (+1-1) 


``````````diff
diff --git 
a/clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp 
b/clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp
index c4c504c95d475..0331dccd2ce82 100644
--- a/clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp
+++ b/clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp
@@ -1,5 +1,5 @@
 // UNSUPPORTED: system-windows
 
-// RUN: clang-tidy -p %S/Inputs/empty-database %s 2>&1 | FileCheck %s
+// RUN: clang-tidy -checks='-*,clang-analyzer-*' -p %S/Inputs/empty-database 
%s 2>&1 | FileCheck %s
 
 // CHECK: 'directory' field of compilation database is empty; using the 
current working directory instead.
diff --git 
a/clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp 
b/clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp
index 7935385c1a35a..ea9e1029706e2 100644
--- a/clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp
+++ b/clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp
@@ -1,5 +1,5 @@
 // UNSUPPORTED: system-windows
 
-// RUN: not --crash clang-tidy -p %S/Inputs/invalid-database %s 2>&1 | 
FileCheck %s
+// RUN: not --crash clang-tidy -checks='-*,clang-analyzer-*' -p 
%S/Inputs/invalid-database %s 2>&1 | FileCheck %s
 
 // CHECK: LLVM ERROR: Cannot chdir into "/invalid/"!

``````````

</details>


https://github.com/llvm/llvm-project/pull/170895
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to