================
@@ -56,6 +56,10 @@ bool InMemoryModuleCache::shouldBuildPCM(llvm::StringRef
Filename) const {
return getPCMState(Filename) == ToBuild;
}
+void InMemoryModuleCache::erasePCM(llvm::StringRef Filename) {
+ PCMs.erase(Filename);
----------------
vsapsai wrote:
Should we have any asserts to validate "pre" state? Each PCM buffer has a
little state machine, so it seems useful to validate the incoming states.
https://github.com/llvm/llvm-project/pull/177004
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits