aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
AgeCommit message (Expand)AuthorFilesLines
2021-06-08[SystemZ][z/OS] Pass OpenFlags when creating tmp filesAbhina Sreeskantharajan1-2/+3
2021-06-02Recommit "Fix tmp files being left on Windows builds." with a fix forAmy Huang1-1/+1
2021-06-01Revert "Fix tmp files being left on Windows builds." for now;Amy Huang1-1/+1
2021-06-01Fix tmp files being left on Windows builds.Amy Huang1-1/+1
2021-04-09Support: Remove code duplication for mapped_file_region accessors, NFCDuncan P. N. Exon Smith1-0/+15
2021-03-19[SystemZ][z/OS] Distinguish between text and binary files on z/OSAbhina Sreeskantharajan1-25/+23
2020-10-21[llvm] Use early exits and get rid of if-return-else-return pattern; NFCKirill Bobyrev1-20/+14
2020-10-19Revert "Reland "[Modules] Add stats to measure performance of building and lo...Volodymyr Sapsai1-5/+0
2020-10-19Reland "[Modules] Add stats to measure performance of building and loading mo...Volodymyr Sapsai1-0/+5
2020-09-24Revert "[Modules] Add stats to measure performance of building and loading mo...Volodymyr Sapsai1-5/+0
2020-09-24[Modules] Add stats to measure performance of building and loading modules.Volodymyr Sapsai1-0/+5
2020-09-23[Support/Path] Add path::is_absolute_gnuVinicius Tinti1-0/+18
2020-05-13[Clang] Restore replace_path_prefix instead of startswithSylvain Audi1-2/+21
2020-05-05Let normalize() for posix style convert backslash to slash unconditionally.Nico Weber1-9/+3
2020-05-04Re-land "Optimize path::remove_dots"Reid Kleckner1-27/+53
2020-05-03Revert "Optimize path::remove_dots"Nico Weber1-50/+27
2020-05-03Optimize path::remove_dotsReid Kleckner1-27/+50
2020-04-03[Support/Path] sys::path::replace_path_prefix fix and simplificationsSylvain Audi1-30/+6
2020-02-10Revert "Remove redundant "std::move"s in return statements"Bill Wendling1-1/+1
2020-02-10Remove redundant "std::move"s in return statementsBill Wendling1-1/+1
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-3/+4
2019-11-26Initial implementation of -fmacro-prefix-map and -ffile-prefix-mapDan McGregor1-9/+32
2019-08-06[Path] Fix bug in make_absolute logicJonas Devlieghere1-3/+3
2019-06-11[Path] Set FD to -1 in moved-from TempFileJonas Devlieghere1-0/+1
2019-04-25Assigning to a local object in a return statement prevents copy elision. NFC.David Blaikie1-1/+2
2019-04-24Revert using fcopyfile(3) to implement sys::fs::copy_file(Twine, int) on macOSAdrian Prantl1-2/+2
2019-04-18Implement sys::fs::copy_file using the macOS copyfile(3) APIAdrian Prantl1-0/+2
2019-04-18Revert Implement sys::fs::copy_file using the macOS copyfile(3) API to suppor...Adrian Prantl1-2/+0
2019-04-18Implement sys::fs::copy_file using the macOS copyfile(3) APIAdrian Prantl1-0/+2
2019-03-18[llvm-objcopy] Make .build-id linking atomicJake Ehrlich1-26/+27
2019-02-14[Support] Fix TempFile::discard to not leave behind temporary filesAndrew Ng1-13/+14
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2019-01-16[Support] Remove error return value from one overload of fs::make_absolutePavel Labath1-17/+16
2018-11-17Use llvm::copy. NFCFangrui Song1-1/+1
2018-09-18Remove dead function user_cache_directory()Nico Weber1-12/+0
2018-09-12[Support] sys::fs::directory_entry includes the file_type.Kristina Brooks1-6/+7
2018-08-03[Windows FS] Allow moving files in TempFile::keepJeremy Morse1-1/+9
2018-08-02[Support] [NFC] change comment about retries in createUniqueEntityBob Haarman1-2/+4
2018-08-02[Support] fix TempFile infinite loop and permission denied errorsBob Haarman1-35/+42
2018-07-29[dsymutil] Simplify temporary file handling.Jonas Devlieghere1-3/+7
2018-07-03Fix typo in lib/Support/Path.cpp to test commit accessVladimir Stefanovic1-1/+1
2018-06-28Add a flag to FileOutputBuffer that allows modification.Zachary Turner1-12/+31
2018-06-13LTO: Keep file handles open for memory mapped files.Peter Collingbourne1-3/+5
2018-06-07[FileSystem] Split up the OpenFlags enumeration.Zachary Turner1-7/+8
2018-06-05[FileSystem] Remove OpenFlags param from several functions.Zachary Turner1-14/+16
2018-05-16Revert 332508 as it caused problems in the clang test suite.Greg Clayton1-4/+0
2018-05-16Fix llvm::sys::path::remove_dots() to return "." instead of an empty path.Greg Clayton1-0/+4
2018-05-09[Support/Path] Make handling of paths like "///" consistentPavel Labath1-24/+28
2018-04-30IWYU for llvm-config.h in llvm, additions.Nico Weber1-0/+1
2018-04-29s/LLVM_ON_WIN32/_WIN32/, llvmNico Weber1-6/+6