aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileUtilities.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-01-26[NFC] Additional header dependency cleanup LLVMSupportserge-sans-paille1-1/+0
2022-01-21[llvm] Cleanup header dependencies in ADT and Supportserge-sans-paille1-3/+0
2021-08-29[Support] Remove redundant calls to str() and c_str() (NFC)Kazu Hirata1-4/+2
2020-05-02std::isspace -> llvm::isSpace (where locale should be ignored)Sam McCall1-2/+3
2020-03-02Fix unused-variable warningBrian Cain1-3/+2
2019-09-18Revert "r372201: [Support] Replace function with function_ref in writeFileAto...Ilya Biryukov1-1/+1
2019-09-18[Support] Replace function with function_ref in writeFileAtomically. NFCIlya Biryukov1-1/+1
2019-09-13[Support] Add overload writeFileAtomically(std::function Writer)Jan Korous1-16/+47
2019-09-05[Support] Add writeFileAtomically() to FileUtilitiesJan Korous1-0/+35
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2016-08-23Fix some Clang-tidy modernize-use-using and Include What You Use warnings; ot...Eugene Zelenko1-2/+6
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