| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This class isn't similar to anything from the STL, so it shouldn't use
the STL naming conventions.
llvm-svn: 314050
|
|
|
|
|
|
|
|
|
|
| |
Take a StringRef instead of a "const char *".
Take a "std::error_code &" instead of a "std::string &" for error.
A create static method would be even better, but this patch is already a bit too
big.
llvm-svn: 216393
|
|
|
|
| |
llvm-svn: 198958
|
|
|
|
|
|
|
| |
This centralizes the handling of O_BINARY and opens the way for hiding more
differences (like how open behaves with directories).
llvm-svn: 186447
|
|
|
|
| |
llvm-svn: 184120
|
|
|
|
|
|
|
|
| |
This reverts commit r183985.
We were missing the checks for not deleting things like /dev/null.
llvm-svn: 184111
|
|
|
|
|
|
|
| |
This patch also adds a simpler version of sys::fs::remove and a tool_output_file
constructor for when we already have an open file.
llvm-svn: 184095
|
|
|
|
| |
llvm-svn: 183985
|
|
|
|
| |
llvm-svn: 183947
|
|
|
|
| |
llvm-svn: 120298
|
|
llvm-svn: 115973
|