Update for llvm API change.

llvm-svn: 186449
This commit is contained in:
Rafael Espindola 2013-07-16 19:44:28 +00:00
parent 16125fb652
commit 93c49dcf42
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ int main(int argc, const char **argv) {
std::string ErrorInfo;
std::string MainFileName = I->getKey();
llvm::raw_fd_ostream FileStream(MainFileName.c_str(), ErrorInfo,
llvm::raw_fd_ostream::F_Binary);
llvm::sys::fs::F_Binary);
FileStream << Overrides.getMainFileContent();
}
@ -214,7 +214,7 @@ int main(int argc, const char **argv) {
std::string ErrorInfo;
std::string HeaderFileName = HeaderI->getKey();
llvm::raw_fd_ostream HeaderStream(HeaderFileName.c_str(), ErrorInfo,
llvm::raw_fd_ostream::F_Binary);
llvm::sys::fs::F_Binary);
HeaderStream << HeaderI->second.FileOverride;
}
}