Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support/PathV2: Add identify_magic. | Michael J. Spencer | 2011-01-15 | 2 | -34/+33 |
| | | | | llvm-svn: 123548 | ||||
* | Support/PathV2: Implement has_magic in terms of get_magic. | Michael J. Spencer | 2011-01-15 | 1 | -26/+8 |
| | | | | llvm-svn: 123545 | ||||
* | Support/PathV2: Implement get_magic. | Michael J. Spencer | 2011-01-15 | 3 | -0/+74 |
| | | | | llvm-svn: 123544 | ||||
* | Support/Path: Deprecate PathV1::IsSymlink and replace all uses with ↵ | Michael J. Spencer | 2011-01-12 | 1 | -0/+8 |
| | | | | | | PathV2::is_symlink. llvm-svn: 123345 | ||||
* | Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵ | Michael J. Spencer | 2011-01-11 | 3 | -3/+21 |
| | | | | | | PathV2::is_directory. llvm-svn: 123209 | ||||
* | Support/Path: Deprecate PathV1::exists and replace all uses with ↵ | Michael J. Spencer | 2011-01-10 | 4 | -5/+11 |
| | | | | | | PathV2::fs::exists. llvm-svn: 123151 | ||||
* | Fixed parsing of hex floats. | Abramo Bagnara | 2011-01-06 | 1 | -4/+4 |
| | | | | llvm-svn: 122963 | ||||
* | Support/PathV2: Implement remove_all. | Michael J. Spencer | 2011-01-05 | 1 | -0/+37 |
| | | | | llvm-svn: 122884 | ||||
* | Support/Windows/PathV2: Make directory iteration ignore . and .. | Michael J. Spencer | 2011-01-05 | 1 | -4/+24 |
| | | | | llvm-svn: 122883 | ||||
* | Support/Windows/PathV2: Fix remove to handle both files and directories. | Michael J. Spencer | 2011-01-05 | 1 | -7/+21 |
| | | | | llvm-svn: 122882 | ||||
* | Support/PathV2: Implement directory_entry::status. | Michael J. Spencer | 2011-01-05 | 1 | -0/+4 |
| | | | | llvm-svn: 122881 | ||||
* | Support/PathV2: Implement directory iteration on POSIX. | Michael J. Spencer | 2011-01-05 | 1 | -0/+54 |
| | | | | llvm-svn: 122879 | ||||
* | Fix a signed/unsigned comparison warning. | Benjamin Kramer | 2010-12-28 | 1 | -1/+1 |
| | | | | llvm-svn: 122597 | ||||
* | Support/Path: Deprecate Path::hasMagicNumber and replace all uses with ↵ | Michael J. Spencer | 2010-12-28 | 1 | -1/+5 |
| | | | | | | fs::has_magic. llvm-svn: 122589 | ||||
* | Support/PathV2: Implement has_magic. | Michael J. Spencer | 2010-12-28 | 1 | -0/+38 |
| | | | | llvm-svn: 122587 | ||||
* | Support/PathV1: Deprecate GetRootDirectory. | Michael J. Spencer | 2010-12-27 | 1 | -6/+5 |
| | | | | llvm-svn: 122580 | ||||
* | Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it ↵ | Michael J. Spencer | 2010-12-25 | 1 | -12/+0 |
| | | | | | | annoys people. llvm-svn: 122553 | ||||
* | Change all self assignments X=X to (void)X, so that we can turn on a | Jeffrey Yasskin | 2010-12-23 | 2 | -3/+2 |
| | | | | | | | new gcc warning that complains on self-assignments and self-initializations. llvm-svn: 122458 | ||||
* | Use IntEqClasses to compute connected components of live intervals. | Jakob Stoklund Olesen | 2010-12-21 | 1 | -0/+1 |
| | | | | llvm-svn: 122296 | ||||
* | Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h. | Jakob Stoklund Olesen | 2010-12-21 | 2 | -0/+70 |
| | | | | | | | | | | This implementation already exists as ConnectedVNInfoEqClasses in LiveInterval.cpp, and it seems to be generally useful to have a light-weight way of forming equivalence classes of small integers. IntEqClasses doesn't allow enumeration of the elements in a class. llvm-svn: 122293 | ||||
* | Support/PathV2: Add missing has_relative_path impl. | Michael J. Spencer | 2010-12-20 | 1 | -0/+7 |
| | | | | llvm-svn: 122243 | ||||
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 3 | -0/+3 |
| | | | | llvm-svn: 122193 | ||||
* | Support/PathV1: Deprecate getLast. | Michael J. Spencer | 2010-12-18 | 1 | -1/+1 |
| | | | | llvm-svn: 122116 | ||||
* | PathV2: Use StringRef::substr to simplify substring creation. | Benjamin Kramer | 2010-12-17 | 1 | -27/+17 |
| | | | | llvm-svn: 122085 | ||||
* | Missed some StringRefRefs. | Benjamin Kramer | 2010-12-17 | 2 | -5/+3 |
| | | | | llvm-svn: 122077 | ||||
* | Pass StringRefs by value, for consistency. | Benjamin Kramer | 2010-12-17 | 1 | -13/+13 |
| | | | | llvm-svn: 122074 | ||||
* | Trailing whitespace and 80 column fixups. | Jim Grosbach | 2010-12-17 | 1 | -14/+15 |
| | | | | llvm-svn: 122026 | ||||
* | MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> ↵ | Michael J. Spencer | 2010-12-16 | 4 | -48/+50 |
| | | | | | | via an out parm. llvm-svn: 121958 | ||||
* | lib/Support/regexec.c: Let Regex LLP64-aware. | NAKAMURA Takumi | 2010-12-16 | 1 | -2/+3 |
| | | | | | | On LLP64 Win64, 'states1' (for small version) was expanded to 'char *' for large version. Thus small version would be mischosen when nstates > 32 regardless of sizeof(long) on Win64. llvm-svn: 121942 | ||||
* | Support/Windows/PathV2: Fix header comment. | Michael J. Spencer | 2010-12-09 | 1 | -1/+1 |
| | | | | llvm-svn: 121383 | ||||
* | Fix whitespace. | Michael J. Spencer | 2010-12-09 | 2 | -4/+4 |
| | | | | llvm-svn: 121382 | ||||
* | Support: Move c_str from SmallVector back to SmallString and add a free standing | Michael J. Spencer | 2010-12-09 | 2 | -1/+14 |
| | | | | | | templated c_str in Windows.h to replace it. llvm-svn: 121381 | ||||
* | Support/FileSystem: Change file_status predicate functions that cannot fail to | Michael J. Spencer | 2010-12-09 | 1 | -0/+27 |
| | | | | | | | return their result instead of an error_code. Also add some missing predicate functions. llvm-svn: 121380 | ||||
* | Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with ↵ | Michael J. Spencer | 2010-12-09 | 5 | -26/+50 |
| | | | | | | error_code &ec. And fix clients. llvm-svn: 121379 | ||||
* | Support: Remove Alarm. It is unused (via local grep and google code search). | Michael J. Spencer | 2010-12-07 | 4 | -151/+0 |
| | | | | llvm-svn: 121160 | ||||
* | Support/PathV2: Remove const from bool return types. | Michael J. Spencer | 2010-12-07 | 1 | -9/+9 |
| | | | | llvm-svn: 121157 | ||||
* | Support/PathV2: Change most functions in the path namespace to return their work | Michael J. Spencer | 2010-12-07 | 3 | -104/+64 |
| | | | | | | via their return value instead of an out parameter. llvm-svn: 121149 | ||||
* | build: Go back to dropping __eprintf reference when building with Clang, see | Daniel Dunbar | 2010-12-07 | 1 | -0/+5 |
| | | | | | | comment. llvm-svn: 121146 | ||||
* | PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and | Jay Foad | 2010-12-07 | 4 | -87/+75 |
| | | | | | | | | zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121120 | ||||
* | Don't leak the mutex when loading dynamic libraries. | Owen Anderson | 2010-12-07 | 1 | -12/+5 |
| | | | | llvm-svn: 121119 | ||||
* | Support/PathV2: Cleanup separator handling. | Michael J. Spencer | 2010-12-07 | 1 | -7/+10 |
| | | | | llvm-svn: 121110 | ||||
* | Support/PathV2: Remove the error_code return type from all functions in the path | Michael J. Spencer | 2010-12-07 | 3 | -95/+65 |
| | | | | | | | namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109 | ||||
* | Support/PathV2: Move make_absolute from path to fs. | Michael J. Spencer | 2010-12-07 | 1 | -55/+57 |
| | | | | llvm-svn: 121108 | ||||
* | Support/Unix/PathV2: Return the real error from realpath instead of any error | Michael J. Spencer | 2010-12-07 | 1 | -1/+2 |
| | | | | | | that close or unlink set. llvm-svn: 121094 | ||||
* | Support/Unix/PathV2: Use 0770 instead of 0700 when creating a directory. ↵ | Michael J. Spencer | 2010-12-07 | 1 | -1/+1 |
| | | | | | | | | Also use the standard macros instead of octal notation. llvm-svn: 121093 | ||||
* | Support/PathV2: Use SmallVector::clear instead of set_size. | Michael J. Spencer | 2010-12-07 | 2 | -3/+3 |
| | | | | llvm-svn: 121092 | ||||
* | Support/PathV2: Clarify and correct documentation. | Michael J. Spencer | 2010-12-07 | 1 | -0/+5 |
| | | | | llvm-svn: 121091 | ||||
* | Support/PathV2: Move current_path from path to fs and fix the Unix ↵ | Michael J. Spencer | 2010-12-07 | 3 | -17/+15 |
| | | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090 | ||||
* | Support/Windows: Make MinGW happy. | Michael J. Spencer | 2010-12-06 | 2 | -7/+7 |
| | | | | llvm-svn: 120991 | ||||
* | Support/FileSystem: Add directory_iterator implementation. | Michael J. Spencer | 2010-12-06 | 3 | -3/+94 |
| | | | | llvm-svn: 120989 |