bfbfee51ec8f20f3f1b9f8329705d816b67438e7 |
|
22-May-2012 |
Manuel Klimek <klimek@google.com> |
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
/external/clang/unittests/Tooling/RewriterTest.cpp
|