diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 05:09:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-11-13 05:09:21 +0000 |
commit | 26fb272713809af97e6f58ca61b8b9dcba37afc7 (patch) | |
tree | 1431479afaaa1d3fc2e63c18cc0c28ab75a5211b /Driver/CacheTokens.cpp | |
parent | 76dba7b67a36b2d6311e4ad4714df5dbd39dbebe (diff) |
[LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that
the Backend output should be done in binary mode.
- I'd appreciate it if someone who has a Windows build could verify
this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/CacheTokens.cpp')
-rw-r--r-- | Driver/CacheTokens.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/CacheTokens.cpp b/Driver/CacheTokens.cpp index 5aeb1a6da3..6b37830c00 100644 --- a/Driver/CacheTokens.cpp +++ b/Driver/CacheTokens.cpp @@ -115,7 +115,7 @@ void clang::CacheTokens(Preprocessor& PP, const std::string& OutFile) { uint32_t idcount = 0; std::string ErrMsg; - llvm::raw_fd_ostream Out(OutFile.c_str(), ErrMsg); + llvm::raw_fd_ostream Out(OutFile.c_str(), true, ErrMsg); if (!ErrMsg.empty()) { os << "PCH error: " << ErrMsg << "\n"; |