aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileUtilities.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-02-18Remove uses of builtin comma operator.Richard Trieu1-2/+4
2014-08-01Remove some calls to std::move.Rafael Espindola1-8/+8
2014-07-06Update the MemoryBuffer API to use ErrorOr.Rafael Espindola1-6/+9
2014-06-13Remove 'using std::errro_code' from lib.Rafael Espindola1-3/+2
2014-06-12Don't use 'using std::error_code' in include/llvm.Rafael Espindola1-0/+1
2014-06-12Remove system_error.h.Rafael Espindola1-1/+1
2014-03-06Replace OwningPtr<T> with std::unique_ptr<T>.Ahmed Charles1-3/+2
2013-07-10MemoryBuffer::getFile handles zero sized files, no need to duplicate the test.Rafael Espindola1-21/+2
2013-06-14Remove a use of PathV1.h.Rafael Espindola1-15/+9
2013-06-13Don't use PathV1.h in FileUtilities.h.Rafael Espindola1-2/+6
2013-02-12Add static cast to unsigned char whenever a character classification function...Guy Benyei1-2/+2
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-4/+4
2012-02-09Change default error_code ctor to a 'named ctor' so it's more self-documenting.David Blaikie1-1/+0
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-1/+1
2010-12-16MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...Michael J. Spencer1-4/+4
2010-12-09Fix whitespace.Michael J. Spencer1-3/+3
2010-12-09Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...Michael J. Spencer1-4/+14
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2010-06-15fpcmp: Fix bug where fpcmp wouldn't early exit when files obviously differ andDaniel Dunbar1-9/+9
2010-06-15fpcmp: Fix a possible infinite loop when comparing something like:Daniel Dunbar1-0/+8
2010-01-29Convert some users of ftostr to raw_ostream.Benjamin Kramer1-7/+7
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng1-2/+4
2008-04-01Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner1-4/+2
2008-04-01Change DiffFilesWithTolerance to be written in terms of MemoryBuffer,Chris Lattner1-73/+56
2008-04-01Remove MappedFile support for mapping files for write and execChris Lattner1-2/+2
2008-02-20Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov1-0/+1
2008-01-28Simplify the code and fix a typo.Lauro Ramos Venancio1-7/+4
2008-01-28Fix fpcmp infinite loop when comparing "29-266" with "29-268".Lauro Ramos Venancio1-5/+21
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-04-07For PR1291:Reid Spencer1-2/+2
2007-03-29For PR789:Reid Spencer1-5/+6
2007-03-29For PR789:Reid Spencer1-2/+2
2006-11-25Make the absolute/relative tolerance information easier to read/understand.Reid Spencer1-2/+3
2006-11-08Remove redundant <cmath>.Jim Laskey1-1/+0
2006-10-18Beef up the output from DiffFilesWithTolerance by setting the error codeReid Spencer1-3/+16
2006-08-23For PR797:Reid Spencer1-83/+75
2006-08-22For PR797:Reid Spencer1-6/+14
2006-07-28Change Path::getStatusInfo to return a boolean and error string on an errorChris Lattner1-12/+16
2006-05-15For PR777:Reid Spencer1-0/+3
2005-08-02200.sixtrack prints FP numbers with a very strange notation that uses DChris Lattner1-3/+21
2005-04-21Remove trailing whitespaceMisha Brukman1-6/+6
2005-03-17Fix a bug where we would consider " .99" and "1.0" different because of theChris Lattner1-0/+9
2005-02-15Instead of doing a manual comparison loop, just use memcmp, thanks to JohnCChris Lattner1-9/+6
2005-02-15Make this more efficient now that we know both files are the same length.Chris Lattner1-2/+2
2005-02-15Fix spellingMisha Brukman1-1/+1
2005-02-15Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility byReid Spencer1-8/+24
2005-01-23Fix crash comparing empty file against nonempty file.Chris Lattner1-1/+2
2005-01-23Make DiffFilesWithTolerance take sys::Path's instead of std::stringsChris Lattner1-55/+9
2005-01-23Fix a bug in previous checkinChris Lattner1-2/+2
2005-01-23Add a new method, refactored out of fpcmpChris Lattner1-0/+184