aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-04-26[llvm] Use llvm::replace (NFC) (#137481)Kazu Hirata1-2/+2
2024-11-20[Support] Remove unused includes (NFC) (#116752)Kazu Hirata1-1/+0
2024-03-08[llvm][Support] Add and use errnoAsErrorCode (#84423)Michael Spencer1-12/+7
2024-02-29[Support] Use all_read | all_write for createTemporaryFile (#83360)Jonas Devlieghere1-1/+1
2024-01-18[Path] Fix off-by-one in finding filename for win style paths (#78055)Matheus Izvekov1-1/+1
2024-01-17[Support] Use SmallString::operator std::string (NFC)Kazu Hirata1-1/+1
2023-11-03[Support] Use StringRef::starts_with/ends_with instead of startswith/endswith...Simon Pilgrim1-5/+5
2023-06-25[llvm] Add missing StringExtras.h includesElliot Goodrich1-0/+1
2023-05-11llvm/lib: Use <cerrno> explicitly since D146395 has hidden `errno`NAKAMURA Takumi1-0/+1
2023-02-10[llvm-driver] Reinvoke clang as described by llvm driver extra argsAlex Brachet1-8/+0
2023-01-16[llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guidesJoe Loser1-1/+1
2023-01-05Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ partserge-sans-paille1-2/+2
2022-06-06LLVM Driver Multicall toolChris Bieneman1-0/+9
2022-06-02Fix a buglet in remove_dots().Paul Pluzhnikov1-1/+5
2022-03-11Cleanup include: TableGenserge-sans-paille1-1/+0
2022-01-27[Support] [Windows] Don't cancel delete if we failed to set deleteShezan Baig1-1/+2
2022-01-11Support: Extract sys::fs::readNativeFileToEOF() from MemoryBufferDuncan P. N. Exon Smith1-0/+20
2021-12-08Support: Avoid using SmallVector::set_size() in sys::pathDuncan P. N. Exon Smith1-2/+2
2021-11-05[Support] Allow configuring the preferred type of slashes on WindowsMartin Storsjö1-1/+3
2021-11-05[Support] Add a new path style for Windows with forward slashesMartin Storsjö1-3/+7
2021-11-03[Support] [Windows] Use RemoveFileOnSignal if unable to use the delete-on-clo...Martin Storsjö1-7/+7
2021-10-29Support: Use sys::path::is_style_{posix,windows}() in a few placesDuncan P. N. Exon Smith1-17/+15
2021-10-29Support: Expose sys::path::is_style_{posix,windows,native}()Duncan P. N. Exon Smith1-5/+3
2021-10-28[Support] [Windows] Manually clean up temp files if not setting delete dispos...Martin Storsjö1-10/+31
2021-10-13[Support] [Path] Use std::replace instead of an explicit comparison loop. NFC.Martin Storsjö1-3/+1
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