Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid using set::emplace as it is apparently not supported by gcc 4.7. | Daniel Jasper | 2015-06-16 | 1 | -2/+2 |
| | | | | llvm-svn: 239816 | ||||
* | Tooling: When applying a set of replacements, do deletions before | Daniel Jasper | 2015-06-16 | 1 | -0/+13 |
| | | | | | | | | insertions. It is unlikely to be the intention to delete parts of newly inserted code. To do so, changed sorting Replacements at the same offset to have decreasing length. llvm-svn: 239809 | ||||
* | Adds a method overwriteChangedFiles to the Rewriter. This is implemented by | Manuel Klimek | 2012-05-22 | 1 | -0/+37 |
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. llvm-svn: 157260 |