diff options
Diffstat (limited to 'lib/Rewrite/Core/Rewriter.cpp')
-rw-r--r-- | lib/Rewrite/Core/Rewriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Rewrite/Core/Rewriter.cpp b/lib/Rewrite/Core/Rewriter.cpp index 37081881ed..6fad5dd515 100644 --- a/lib/Rewrite/Core/Rewriter.cpp +++ b/lib/Rewrite/Core/Rewriter.cpp @@ -418,6 +418,7 @@ bool Rewriter::IncreaseIndentation(CharSourceRange range, return false; } +namespace { // A wrapper for a file stream that atomically overwrites the target. // // Creates a file output stream for a temporary file in the constructor, @@ -472,6 +473,7 @@ private: OwningPtr<llvm::raw_fd_ostream> FileStream; bool &AllWritten; }; +} // end anonymous namespace bool Rewriter::overwriteChangedFiles() { bool AllWritten = true; |