diff options
| author | Alp Toker <alp@nuanti.com> | 2013-10-29 08:32:41 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-10-29 08:32:41 +0000 |
| commit | 6bf97fb15c09db9a0238ccb73be2dbf9cd77a7ee (patch) | |
| tree | f4664eb9d4ca40d16bdecb72f59d1c14ab738197 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 2dd4710a1237f4ae089a6b91ca2fc34c38c5163e (diff) | |
| download | clang-6bf97fb15c09db9a0238ccb73be2dbf9cd77a7ee.tar.gz clang-6bf97fb15c09db9a0238ccb73be2dbf9cd77a7ee.tar.bz2 clang-6bf97fb15c09db9a0238ccb73be2dbf9cd77a7ee.tar.xz | |
Use Rewriter::overwriteChangedFiles() directly
This replaces the custom code in RefactoringTool::saveRewrittenFiles() which
lacked atomic file saving and error diagnostics, resolving an old FIXME from
r157331.
Landing this time with the proper return code, plus a very unhelpful comment
cleared up.
Rubber-stamped by Manuel Klimek.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
