diff options
Diffstat (limited to 'clang/lib/Rewrite/Core/Rewriter.cpp')
-rw-r--r-- | clang/lib/Rewrite/Core/Rewriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Rewrite/Core/Rewriter.cpp b/clang/lib/Rewrite/Core/Rewriter.cpp index 37081881edb..6fad5dd515a 100644 --- a/clang/lib/Rewrite/Core/Rewriter.cpp +++ b/clang/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; |