================
@@ -28,16 +28,24 @@ namespace clang {
/// each \a ModuleManager sees the same files.
class InMemoryModuleCache : public llvm::RefCountedBase<InMemoryModuleCache> {
struct PCM {
----------------
jansvoboda11 wrote:
`Size`/`ModTime` will always be populated, except for stdin where `ModTime`
will be zero. You're right that `InMemoryModuleCache` is only useful for
implicit modules, but it is being used for explicit modules too, so it made
sense to unify the semantics and always store the size and modification time
regardless.
https://github.com/llvm/llvm-project/pull/190207
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits