================
@@ -199,7 +199,10 @@ class ModuleManager {
     Missing,
 
     /// The module file is out-of-date.
-    OutOfDate
+    OutOfDate,
+
+    /// The importer file is out-of-date
+    ImporterOutOfDate
----------------
devajithvs wrote:

In the above example, even though A is recent, the error message says 
```
'A.pcm' is out of date and needs to be rebuilt
```
when in fact it is B (the importer) that is out of date and needs to be rebuilt 
because the dependency (importee) `A.pcm` has changed.
The error message should have been:
```
module file 'B.pcm' is out of date because dependency 'A.pcm' has changed.
```

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

Reply via email to