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 /lib/AST/InheritViz.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 'lib/AST/InheritViz.cpp')
-rw-r--r-- | lib/AST/InheritViz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/InheritViz.cpp b/lib/AST/InheritViz.cpp index 5e4dab4a5e..dd2fc14ab2 100644 --- a/lib/AST/InheritViz.cpp +++ b/lib/AST/InheritViz.cpp @@ -149,7 +149,7 @@ void CXXRecordDecl::viewInheritance(ASTContext& Context) const { llvm::errs() << "Writing '" << Filename.c_str() << "'... "; - llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg); + llvm::raw_fd_ostream O(Filename.c_str(), false, ErrMsg); if (ErrMsg.empty()) { InheritanceHierarchyWriter Writer(Context, O); |