summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* Support/PathV2: Add identify_magic.Michael J. Spencer2011-01-152-34/+33
| | | | llvm-svn: 123548
* Support/PathV2: Implement has_magic in terms of get_magic.Michael J. Spencer2011-01-151-26/+8
| | | | llvm-svn: 123545
* Support/PathV2: Implement get_magic.Michael J. Spencer2011-01-153-0/+74
| | | | llvm-svn: 123544
* Support/Path: Deprecate PathV1::IsSymlink and replace all uses with ↵Michael J. Spencer2011-01-121-0/+8
| | | | | | PathV2::is_symlink. llvm-svn: 123345
* Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵Michael J. Spencer2011-01-113-3/+21
| | | | | | PathV2::is_directory. llvm-svn: 123209
* Support/Path: Deprecate PathV1::exists and replace all uses with ↵Michael J. Spencer2011-01-104-5/+11
| | | | | | PathV2::fs::exists. llvm-svn: 123151
* Fixed parsing of hex floats.Abramo Bagnara2011-01-061-4/+4
| | | | llvm-svn: 122963
* Support/PathV2: Implement remove_all.Michael J. Spencer2011-01-051-0/+37
| | | | llvm-svn: 122884
* Support/Windows/PathV2: Make directory iteration ignore . and ..Michael J. Spencer2011-01-051-4/+24
| | | | llvm-svn: 122883
* Support/Windows/PathV2: Fix remove to handle both files and directories.Michael J. Spencer2011-01-051-7/+21
| | | | llvm-svn: 122882
* Support/PathV2: Implement directory_entry::status.Michael J. Spencer2011-01-051-0/+4
| | | | llvm-svn: 122881
* Support/PathV2: Implement directory iteration on POSIX.Michael J. Spencer2011-01-051-0/+54
| | | | llvm-svn: 122879
* Fix a signed/unsigned comparison warning.Benjamin Kramer2010-12-281-1/+1
| | | | llvm-svn: 122597
* Support/Path: Deprecate Path::hasMagicNumber and replace all uses with ↵Michael J. Spencer2010-12-281-1/+5
| | | | | | fs::has_magic. llvm-svn: 122589
* Support/PathV2: Implement has_magic.Michael J. Spencer2010-12-281-0/+38
| | | | llvm-svn: 122587
* Support/PathV1: Deprecate GetRootDirectory.Michael J. Spencer2010-12-271-6/+5
| | | | llvm-svn: 122580
* Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it ↵Michael J. Spencer2010-12-251-12/+0
| | | | | | annoys people. llvm-svn: 122553
* Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin2010-12-232-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 Olesen2010-12-211-0/+1
| | | | llvm-svn: 122296
* Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h.Jakob Stoklund Olesen2010-12-212-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. Spencer2010-12-201-0/+7
| | | | llvm-svn: 122243
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-193-0/+3
| | | | llvm-svn: 122193
* Support/PathV1: Deprecate getLast.Michael J. Spencer2010-12-181-1/+1
| | | | llvm-svn: 122116
* PathV2: Use StringRef::substr to simplify substring creation.Benjamin Kramer2010-12-171-27/+17
| | | | llvm-svn: 122085
* Missed some StringRefRefs.Benjamin Kramer2010-12-172-5/+3
| | | | llvm-svn: 122077
* Pass StringRefs by value, for consistency.Benjamin Kramer2010-12-171-13/+13
| | | | llvm-svn: 122074
* Trailing whitespace and 80 column fixups.Jim Grosbach2010-12-171-14/+15
| | | | llvm-svn: 122026
* MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> ↵Michael J. Spencer2010-12-164-48/+50
| | | | | | via an out parm. llvm-svn: 121958
* lib/Support/regexec.c: Let Regex LLP64-aware.NAKAMURA Takumi2010-12-161-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. Spencer2010-12-091-1/+1
| | | | llvm-svn: 121383
* Fix whitespace.Michael J. Spencer2010-12-092-4/+4
| | | | llvm-svn: 121382
* Support: Move c_str from SmallVector back to SmallString and add a free standingMichael J. Spencer2010-12-092-1/+14
| | | | | | templated c_str in Windows.h to replace it. llvm-svn: 121381
* Support/FileSystem: Change file_status predicate functions that cannot fail toMichael J. Spencer2010-12-091-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. Spencer2010-12-095-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. Spencer2010-12-074-151/+0
| | | | llvm-svn: 121160
* Support/PathV2: Remove const from bool return types.Michael J. Spencer2010-12-071-9/+9
| | | | llvm-svn: 121157
* Support/PathV2: Change most functions in the path namespace to return their workMichael J. Spencer2010-12-073-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, seeDaniel Dunbar2010-12-071-0/+5
| | | | | | comment. llvm-svn: 121146
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-074-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 Anderson2010-12-071-12/+5
| | | | llvm-svn: 121119
* Support/PathV2: Cleanup separator handling.Michael J. Spencer2010-12-071-7/+10
| | | | llvm-svn: 121110
* Support/PathV2: Remove the error_code return type from all functions in the pathMichael J. Spencer2010-12-073-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. Spencer2010-12-071-55/+57
| | | | llvm-svn: 121108
* Support/Unix/PathV2: Return the real error from realpath instead of any errorMichael J. Spencer2010-12-071-1/+2
| | | | | | that close or unlink set. llvm-svn: 121094
* Support/Unix/PathV2: Use 0770 instead of 0700 when creating a directory. ↵Michael J. Spencer2010-12-071-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. Spencer2010-12-072-3/+3
| | | | llvm-svn: 121092
* Support/PathV2: Clarify and correct documentation.Michael J. Spencer2010-12-071-0/+5
| | | | llvm-svn: 121091
* Support/PathV2: Move current_path from path to fs and fix the Unix ↵Michael J. Spencer2010-12-073-17/+15
| | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090
* Support/Windows: Make MinGW happy.Michael J. Spencer2010-12-062-7/+7
| | | | llvm-svn: 120991
* Support/FileSystem: Add directory_iterator implementation.Michael J. Spencer2010-12-063-3/+94
| | | | llvm-svn: 120989
OpenPOWER on IntegriCloud