================
@@ -33,7 +33,7 @@
 // RUN: clang-scan-deps -compilation-database %t/cdb.json -mode preprocess | 
FileCheck %s
 
 // CHECK: tu.c
-// CHECK-NEXT: header1.h
-// CHECK-NEXT: header2.h
-// CHECK-NEXT: header3.h
-// CHECK-NEXT: header4.h
+// CHECK-NOT: header1.h
----------------
MaskRay wrote:

I think skipping header1.h is undesired. header1.h is not inside `#if 0 ... 
#endif` . Whether the file is present affects the build.



https://github.com/llvm/llvm-project/pull/120673
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to