summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ToolOutputFile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [Support] Rename tool_output_file to ToolOutputFile, NFCReid Kleckner2017-09-231-7/+7
| | | | | | | This class isn't similar to anything from the STL, so it shouldn't use the STL naming conventions. llvm-svn: 314050
* Modernize raw_fd_ostream's constructor a bit.Rafael Espindola2014-08-251-8/+7
| | | | | | | | | | 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
* Use the simpler version of sys::fs::remove when possible.Rafael Espindola2014-01-101-4/+2
| | | | llvm-svn: 198958
* Add a wrapper for open.Rafael Espindola2013-07-161-3/+2
| | | | | | | This centralizes the handling of O_BINARY and opens the way for hiding more differences (like how open behaves with directories). llvm-svn: 186447
* Reapply r183985 now that the missing check was added to PathV2.Rafael Espindola2013-06-171-3/+5
| | | | llvm-svn: 184120
* Revert "Remove a use of PathV1.h."Rafael Espindola2013-06-171-5/+3
| | | | | | | | This reverts commit r183985. We were missing the checks for not deleting things like /dev/null. llvm-svn: 184111
* Don't use PathV1.h in LTOCodeGenerator.cppRafael Espindola2013-06-171-0/+4
| | | | | | | 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
* Remove a use of PathV1.h.Rafael Espindola2013-06-141-3/+5
| | | | llvm-svn: 183985
* Don't use PathV1.h in Signals.h.Rafael Espindola2013-06-131-2/+3
| | | | llvm-svn: 183947
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120298
* Move tool_output_file into its own file.Dan Gohman2010-10-071-0/+43
llvm-svn: 115973
OpenPOWER on IntegriCloud