================
@@ -65,7 +65,8 @@ module Dependency { header "dependency.h" }
 // CHECK-NEXT:           "command-line": [
 // CHECK:                ],
 // CHECK:                "file-deps": [
-// CHECK-NEXT:             "[[PREFIX]]/tu.c"
+// CHECK-NEXT:             "[[PREFIX]]/tu.c",
+// CHECK-NEXT:             
"[[PREFIX]]/frameworks/FW.framework/PrivateHeaders/B.h"
----------------
jansvoboda11 wrote:

This was added because we now recognize `#if __has_include()` in the main TU. 
Note that we still don't recognize this in modules, because dependency 
collection there works on the `SourceManager` level, so it will only pick up 
files that were actually fully `#include`d. This is known pre-existing behavior.

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

Reply via email to