Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Support/PathV2: Fix append to not add a slash to empty or root paths. | Michael J. Spencer | 2010-12-06 | 1 | -1/+1 |
| | | | | llvm-svn: 120988 | ||||
* | Support/Windows: Add ScopedHandle and move some clients over to it. | Michael J. Spencer | 2010-12-06 | 2 | -10/+50 |
| | | | | llvm-svn: 120987 | ||||
* | Silence 'may be used uninitialized in this function' warnings. Static analysis | Bill Wendling | 2010-12-04 | 1 | -2/+2 |
| | | | | | | | may determine that they cannot be used uninitialized. But that might be a bit too much for the compiler to determine. llvm-svn: 120916 | ||||
* | Support/PathV2: Remove redundant calls to make_error_code. | Michael J. Spencer | 2010-12-04 | 3 | -102/+101 |
| | | | | llvm-svn: 120913 | ||||
* | APInt: microoptimize a few methods. | Benjamin Kramer | 2010-12-04 | 1 | -4/+0 |
| | | | | llvm-svn: 120912 | ||||
* | Support/FileSystem: Add status implementation. | Michael J. Spencer | 2010-12-04 | 3 | -0/+82 |
| | | | | llvm-svn: 120870 | ||||
* | Support/Windows/FileSystem: Fix MinGW warnings. | Michael J. Spencer | 2010-12-04 | 1 | -6/+6 |
| | | | | llvm-svn: 120868 | ||||
* | Support/FileSystem: Add file_size implementation. | Michael J. Spencer | 2010-12-04 | 2 | -0/+35 |
| | | | | llvm-svn: 120867 | ||||
* | Add IntervalMap::iterator::set{Start,Stop,Value} methods that allow limited | Jakob Stoklund Olesen | 2010-12-03 | 1 | -3/+3 |
| | | | | | | | | | | | editing of the current interval. These methods may cause coalescing, there are corresponding set*Unchecked methods for editing without coalescing. The non-coalescing methods are useful for applying monotonic transforms to all keys or values in a map without accidentally coalescing transformed and untransformed intervals. llvm-svn: 120829 | ||||
* | Support/FileSystem: Add equivalent implementation. | Michael J. Spencer | 2010-12-03 | 2 | -0/+90 |
| | | | | llvm-svn: 120827 | ||||
* | Support/FileSystem: Fix MinGW build. It doesn't have _chsize_s. | Michael J. Spencer | 2010-12-03 | 1 | -0/+4 |
| | | | | llvm-svn: 120826 | ||||
* | And I really hate line endings. | Michael J. Spencer | 2010-12-03 | 1 | -3/+3 |
| | | | | llvm-svn: 120821 |