yvvan added a comment.

Memory mapping locks the file on Windows. That means that in the addressed case 
it locks main file which we are editing. After that happens many tools struggle 
to do something with this file, for example git.
It's the quickest solution, probably not the best. Better one would introduce 
isVolatile parameter in FileSystem::getBufferForFile which should be set to 
true somewhere (I didn't have to to search for the specific location yet)

https://reviews.llvm.org/D47460



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to