================
@@ -50,6 +50,7 @@ int y = a2<int>;
 // CHECK: In module 'a':
 // CHECK-NEXT: a.h:1:45: error:
 
+int z = b<int>;
 // MISSING-B: could not find file '{{.*}}b.h'
 // MISSING-B-NOT: please delete the module cache
----------------
jansvoboda11 wrote:

This test relied on the fact that when diagnosing line 49, the `SLocEntry` for 
"b.h" got deserialized as a side-effect of the binary search for "a.h", thus 
generating the `MISSING-B` error message. Since we no longer fully deserialize 
the "b.h" `SLocEntry` during the binary search for "a.h", let's force its full 
deserialization by triggering new diagnostics pointing directly into "b.h".

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

Reply via email to