commit | bfbfee51ec8f20f3f1b9f8329705d816b67438e7 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Tue May 22 17:01:35 2012 +0000 |
committer | Manuel Klimek <klimek@google.com> | Tue May 22 17:01:35 2012 +0000 |
tree | 4951ab2512cec15db33ad0d6af461339089e000c | |
parent | 3e86a0433db4c664d29f2b19eb977138e071a68a [diff] |
Adds a method overwriteChangedFiles to the Rewriter. This is implemented by first writing the changed files to a temporary location and then overwriting the original files atomically. Also adds a RewriterTestContext to aid unit testing rewrting logic in general. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157260 91177308-0d34-0410-b5e6-96231b3b80d8