Created
February 20, 2014 12:33
-
-
Save shadone/9112502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/generator/annotator.cpp b/generator/annotator.cpp | |
index df0ab45..2c4a751 100644 | |
--- a/generator/annotator.cpp | |
+++ b/generator/annotator.cpp | |
@@ -269,7 +269,7 @@ bool Annotator::generate(clang::Preprocessor &PP) | |
continue; | |
std::string filename = outputPrefix % "/refs/" % it.first; | |
std::string error; | |
- llvm::raw_fd_ostream myfile(filename.c_str(), error, llvm::sys::fs::F_Append); | |
+ llvm::raw_fd_ostream myfile(filename.c_str(), error, llvm::raw_fd_ostream::F_Append); | |
if (!error.empty()) { | |
std::cerr << error<< std::endl; | |
continue; | |
@@ -342,7 +342,7 @@ bool Annotator::generate(clang::Preprocessor &PP) | |
if (saved.find(idxRef) == std::string::npos) { | |
std::string funcIndexFN = outputPrefix % "/fnSearch/" % idx; | |
std::string error; | |
- llvm::raw_fd_ostream funcIndexFile(funcIndexFN.c_str(), error, llvm::sys::fs::F_Append); | |
+ llvm::raw_fd_ostream funcIndexFile(funcIndexFN.c_str(), error, llvm::raw_fd_ostream::F_Append); | |
if (!error.empty()) { | |
std::cerr << error << std::endl; | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment