[clang-tools-extra] r186449 - Update for llvm API change.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jul 16 12:44:28 PDT 2013
Author: rafael
Date: Tue Jul 16 14:44:28 2013
New Revision: 186449
URL: http://llvm.org/viewvc/llvm-project?rev=186449&view=rev
Log:
Update for llvm API change.
Modified:
clang-tools-extra/trunk/cpp11-migrate/tool/Cpp11Migrate.cpp
Modified: clang-tools-extra/trunk/cpp11-migrate/tool/Cpp11Migrate.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/cpp11-migrate/tool/Cpp11Migrate.cpp?rev=186449&r1=186448&r2=186449&view=diff
==============================================================================
--- clang-tools-extra/trunk/cpp11-migrate/tool/Cpp11Migrate.cpp (original)
+++ clang-tools-extra/trunk/cpp11-migrate/tool/Cpp11Migrate.cpp Tue Jul 16 14:44:28 2013
@@ -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;
}
}
More information about the cfe-commits
mailing list