diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-21 18:44:49 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-07-21 18:44:49 +0000 |
commit | 9cca68dbfc42f7778f8db0bcfe8b3e575599ac0f (patch) | |
tree | 9216dcd89d3be88e2d46e89c4be668585d975204 /lib/Serialization | |
parent | bc9d5a3ace7cb75e4bff3dd4a3999a3fc04f4d45 (diff) |
For ASTUnit::Save, write the AST to a temporary and then rename it to the actual filename.
Should avoid race conditions. Addresses rdar://9788943.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization')
0 files changed, 0 insertions, 0 deletions