Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | PathV1 is deprecated since the 18th of Dec 2010. Remove it. | Rafael Espindola | 2013-06-26 | 1 | -587/+0 | |
| | | | | llvm-svn: 184960 | |||||
* | Remove sys::GetMainExecutable. | Rafael Espindola | 2013-06-26 | 1 | -9/+0 | |
| | | | | llvm-svn: 184916 | |||||
* | Port GetMainExecutable over to PathV2. | Rafael Espindola | 2013-06-26 | 1 | -0/+7 | |
| | | | | | | I will remove the V1 version as soon as I change clang in the next commit. llvm-svn: 184914 | |||||
* | Remove PathWithStatus. | Rafael Espindola | 2013-06-26 | 1 | -29/+0 | |
| | | | | llvm-svn: 184910 | |||||
* | Move GetEXESuffix to the one place it is used. | Rafael Espindola | 2013-06-25 | 1 | -4/+0 | |
| | | | | llvm-svn: 184853 | |||||
* | Remove sys::PathSeparator. | Rafael Espindola | 2013-06-25 | 1 | -2/+0 | |
| | | | | llvm-svn: 184852 | |||||
* | make getLastModificationTime const. Move it with the other getters. | Rafael Espindola | 2013-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 184478 | |||||
* | Add a setLastModificationAndAccessTime to PathV2. | Rafael Espindola | 2013-06-20 | 1 | -0/+11 | |
| | | | | | | With this we can remove the last use of PathV1 from llvm-ar.cpp. llvm-svn: 184464 | |||||
* | Add support for getting the last modification time from a file_status. | Rafael Espindola | 2013-06-20 | 1 | -0/+10 | |
| | | | | | | Use that in llvm-ar.cpp to replace a use of sys::PathWithStatus. llvm-svn: 184450 | |||||
* | Rename fs::GetUniqueID to fs::getUniqueID to match the style guide. | Rafael Espindola | 2013-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 184431 | |||||
* | Modified the implementation of fs::GetUniqueID on Windows such that it ↵ | Aaron Ballman | 2013-06-19 | 1 | -9/+14 | |
| | | | | | | actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. llvm-svn: 184351 | |||||
* | Remove Path::getDirectoryContents. | Rafael Espindola | 2013-06-19 | 1 | -48/+0 | |
| | | | | llvm-svn: 184311 | |||||
* | Remove Path::canExecute. | Rafael Espindola | 2013-06-19 | 1 | -7/+0 | |
| | | | | llvm-svn: 184298 | |||||
* | Remove Path::canWrite. | Rafael Espindola | 2013-06-18 | 1 | -7/+0 | |
| | | | | llvm-svn: 184235 | |||||
* | Add a can_write function to PathV2. | Rafael Espindola | 2013-06-18 | 1 | -0/+12 | |
| | | | | llvm-svn: 184233 | |||||
* | Remove unused Path::canRead. | Rafael Espindola | 2013-06-18 | 1 | -7/+0 | |
| | | | | llvm-svn: 184229 | |||||
* | Remove uniqueID from PathV1.h. | Rafael Espindola | 2013-06-18 | 1 | -7/+0 | |
| | | | | llvm-svn: 184219 | |||||
* | Add a GetUniqueID that will replace the uniqueID of PathV1.h. | Rafael Espindola | 2013-06-18 | 1 | -0/+14 | |
| | | | | llvm-svn: 184217 | |||||
* | Add GetCurrentDirectory back. | Rafael Espindola | 2013-06-14 | 1 | -0/+10 | |
| | | | | | | | | It looks like clang-tools-extra/unittests/cpp11-migrate/TransformTest.cpp depends on the behaviour of the old one on Windows. Maybe a difference between GetCurrentDirectoryA and GetCurrentDirectoryW? llvm-svn: 184009 | |||||
* | Replace use of PathV1.h in MCContext.cpp. | Rafael Espindola | 2013-06-14 | 1 | -10/+0 | |
| | | | | | | GetCurrentDirectory is now unused. Remove it. llvm-svn: 184003 | |||||
* | Replace use of PathV1.h in Program.cpp. | Rafael Espindola | 2013-06-14 | 2 | -16/+27 | |
| | | | | llvm-svn: 183996 | |||||
* | Remove unused argument. | Rafael Espindola | 2013-06-14 | 1 | -3/+3 | |
| | | | | llvm-svn: 183992 | |||||
* | Remove a use of sys::Path. | Rafael Espindola | 2013-06-14 | 1 | -2/+3 | |
| | | | | llvm-svn: 183979 | |||||
* | Try to fix the windows build. | Rafael Espindola | 2013-06-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 183950 | |||||
* | Don't use PathV1.h in Signals.h. | Rafael Espindola | 2013-06-13 | 1 | -6/+8 | |
| | | | | llvm-svn: 183947 | |||||
* | Have sys::FindProgramByName return a std::string. | Rafael Espindola | 2013-06-13 | 1 | -8/+8 | |
| | | | | llvm-svn: 183928 | |||||
* | [Support] Fix handle and memory leak for processes that are not waited for | Reid Kleckner | 2013-06-13 | 1 | -28/+18 | |
| | | | | | | | | | | | | Execute's Data parameter is now optional, so we won't allocate memory for it on Windows and we'll close the process handle. The Unix code should probably do something similar to avoid accumulation of zombie children that haven't been waited on. Tested on Linux and Windows. llvm-svn: 183906 | |||||
* | [Win] Put ChangeStdinToBinary ChangeStdoutToBinary ChangeStderrToBinary in sys. | Rafael Espindola | 2013-06-12 | 1 | -3/+3 | |
| | | | | llvm-svn: 183868 | |||||
* | s/Void/void. | Rafael Espindola | 2013-06-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 183866 | |||||
* | Attempt at fixing the windows build. | Rafael Espindola | 2013-06-12 | 1 | -34/+35 | |
| | | | | llvm-svn: 183865 | |||||
* | Remove Path::getMagicNumber. | Rafael Espindola | 2013-06-12 | 1 | -25/+0 | |
| | | | | llvm-svn: 183839 | |||||
* | Remove Path::isAbsolute. | Rafael Espindola | 2013-06-12 | 1 | -18/+0 | |
| | | | | llvm-svn: 183836 | |||||
* | Remove Path::isAbsolute(). | Rafael Espindola | 2013-06-12 | 1 | -15/+0 | |
| | | | | llvm-svn: 183835 | |||||
* | Remove Path::getSuffix. | Rafael Espindola | 2013-06-12 | 1 | -16/+0 | |
| | | | | llvm-svn: 183833 | |||||
* | Remove sys::CopyFile. | Rafael Espindola | 2013-06-12 | 1 | -11/+0 | |
| | | | | llvm-svn: 183831 | |||||
* | Remove the old file memory mapping functions. | Rafael Espindola | 2013-06-12 | 1 | -11/+0 | |
| | | | | llvm-svn: 183828 | |||||
* | Remove Path::createFileOnDisk. | Rafael Espindola | 2013-06-12 | 1 | -12/+0 | |
| | | | | llvm-svn: 183827 | |||||
* | Remove Path::makeExecutableOnDisk. | Rafael Espindola | 2013-06-12 | 1 | -5/+0 | |
| | | | | llvm-svn: 183826 | |||||
* | Remove Path::getDirname. | Rafael Espindola | 2013-06-11 | 1 | -5/+0 | |
| | | | | llvm-svn: 183780 | |||||
* | Remove Path::getBasename. | Rafael Espindola | 2013-06-11 | 1 | -16/+0 | |
| | | | | llvm-svn: 183779 | |||||
* | Remove Path::getLast. | Rafael Espindola | 2013-06-11 | 1 | -17/+0 | |
| | | | | llvm-svn: 183778 | |||||
* | Remove GetRootDirectory. | Rafael Espindola | 2013-06-11 | 1 | -8/+0 | |
| | | | | llvm-svn: 183775 | |||||
* | Remove GetUserHomeDirectory. | Rafael Espindola | 2013-06-11 | 1 | -13/+0 | |
| | | | | llvm-svn: 183773 | |||||
* | Remove GetSystemLibraryPaths. | Rafael Espindola | 2013-06-11 | 1 | -30/+0 | |
| | | | | llvm-svn: 183770 | |||||
* | Remove Path::GetBitcodeLibraryPaths. | Rafael Espindola | 2013-06-11 | 1 | -17/+0 | |
| | | | | llvm-svn: 183765 | |||||
* | sys::process::get_id() now returns the process ID instead of a process ↵ | Aaron Ballman | 2013-06-08 | 1 | -1/+1 | |
| | | | | | | handle on Windows. Patch thanks to Kim Gräsman! llvm-svn: 183621 | |||||
* | Fix build on Windows | Timur Iskhodzhanov | 2013-05-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 181873 | |||||
* | Use only explicit bool conversion operators | David Blaikie | 2013-05-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | BitVector/SmallBitVector::reference::operator bool remain implicit since they model more exactly a bool, rather than something else that can be boolean tested. The most common (non-buggy) case are where such objects are used as return expressions in bool-returning functions or as boolean function arguments. In those cases I've used (& added if necessary) a named function to provide the equivalent (or sometimes negative, depending on convenient wording) test. One behavior change (YAMLParser) was made, though no test case is included as I'm not sure how to reach that code path. Essentially any comparison of llvm::yaml::document_iterators would be invalid if neither iterator was at the end. This helped uncover a couple of bugs in Clang - test cases provided for those in a separate commit along with similar changes to `operator bool` instances in Clang. llvm-svn: 181868 | |||||
* | Fixes a buffer overrun where the allocated buffer wasn't large enough to ↵ | Aaron Ballman | 2013-05-01 | 1 | -1/+8 | |
| | | | | | | accommodate the closing quote escape rules in some instances. llvm-svn: 180836 | |||||
* | [Support] Fix argv string escape bug on Windows | Reid Kleckner | 2013-04-22 | 1 | -4/+42 | |
| | | | | | | | | | | | | | | | | Summary: This is http://llvm.org/PR15802. Backslashes preceding double quotes in arguments must be escaped. The interesting bit is that all other backslashes should *not* be escaped, because the un-escaping logic is only triggered by the presence of a double quote character. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D705 llvm-svn: 180035 |