Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
e8aab7480c2550b51fd60d6eb102b361e70931d7
/
llvm
/
lib
/
Support
/
Path.cpp
2d2b254
Fix identify_magic() with mach-o stub dylibs.
by Nick Kledzik
· 11 years ago
5c69ff5
Support: Use llvm::COFF::BigObjMagic
by Rui Ueyama
· 11 years ago
2acb058
Support: improve identify_magic to recognize COFF bigobj
by Rui Ueyama
· 11 years ago
281f23a
Misc cleanups to the FileSytem api.
by Rafael Espindola
· 11 years ago
6dc4a8bc
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
by Craig Topper
· 11 years ago
016a6d5
Merge TempDir and system_temp_directory.
by Rafael Espindola
· 11 years ago
42836d9
Revert "Support/Path: remove raw delete"
by Dylan Noblesmith
· 11 years ago
0b59924
Support/Path: remove raw delete
by Dylan Noblesmith
· 11 years ago
674ef1d
Fix the windows build.
by Rafael Espindola
· 11 years ago
d649b9d
Convert from Windows to Unix paths in sys::path::native.
by Rafael Espindola
· 11 years ago
487e764
Path: Stop claiming path::const_iterator is bidirectional
by Justin Bogner
· 11 years ago
a8acef6
Don't leak a file descriptor.
by Rafael Espindola
· 11 years ago
c0f691d
Code cleanup.
by Logan Chien
· 11 years ago
cd45f96
Support: Add llvm::sys::fs::copy_file
by Justin Bogner
· 11 years ago
2a826e4
Finishing touch for the std::error_code transition.
by Rafael Espindola
· 11 years ago
db4ed0b
Remove 'using std::errro_code' from lib.
by Rafael Espindola
· 11 years ago
3acea39
Don't use 'using std::error_code' in include/llvm.
by Rafael Espindola
· 11 years ago
7e577f7
Don't put generic_category in the llvm namespace.
by Rafael Espindola
· 11 years ago
da70bfd
Implement get_magic with generic tools and inline it.
by Rafael Espindola
· 11 years ago
70fbe6f
Remove unused has_magic.
by Rafael Espindola
· 11 years ago
5c4f829
Use std::error_code instead of llvm::error_code.
by Rafael Espindola
· 11 years ago
03bddfe
Use error_code() instead of error_code::succes()
by Rafael Espindola
· 11 years ago
1521720
Fix hardcoded slash to native path seperator which was exposed from llvm::sys::path.
by Yaron Keren
· 11 years ago
c10719f
[C++11] Make use of 'nullptr' in the Support library.
by Craig Topper
· 12 years ago
2006306
Remove dead and incorrect code.
by Rafael Espindola
· 12 years ago
9b7c0af
Support: add support to identify WinCOFF/ARM objects
by Saleem Abdulrasool
· 12 years ago
8d11639
Fix an inconsistency in treatment of trailing / in path::const_iterator
by Ben Langmuir
· 12 years ago
90c7f1c
Replace the F_Binary flag with a F_Text one.
by Rafael Espindola
· 12 years ago
7a0b640
Share a createUniqueEntity implementation between unix and windows.
by Rafael Espindola
· 12 years ago
5c20ac0
Simplify remove, create_directory and create_directories.
by Rafael Espindola
· 12 years ago
b6f72b2
Use mkdir instead of stat+mkdir.
by Rafael Espindola
· 12 years ago
6860c81
_CS_DARWIN_USER macros available on darwin>=9. Thanks, Dave Odell!
by David Fang
· 12 years ago
07e7618
Using the helper API for random number generation.
by Aaron Ballman
· 12 years ago
cb40291
Fix known typos
by Alp Toker
· 12 years ago
78dcc03
Remove remove_all. A compiler has no need for recursively deleting a directory.
by Rafael Espindola
· 12 years ago
e448f9e
Path: Recognize COFF import library file magic.
by Rui Ueyama
· 12 years ago
829c439
Recognize 0x0000 as a COFF file magic.
by Rui Ueyama
· 12 years ago
50a86e1
Fix a bug in Windows resource file detection.
by Rui Ueyama
· 12 years ago
fc149a6
Path: Recognize Windows compiled resource file.
by Rui Ueyama
· 12 years ago
bd4ac9b
Path: Add an in-place version of path::native.
by Benjamin Kramer
· 12 years ago
73537ea
Fixes a bug when iterating on paths
by Tareq A. Siraj
· 12 years ago
7f822a9
Include st_dev to make the result of getUniqueID actually unique.
by Rafael Espindola
· 12 years ago
d3c8904
Don't end a file name with a dot. It looks odd.
by Rafael Espindola
· 12 years ago
67080ce
Split openFileForWrite into windows and unix versions.
by Rafael Espindola
· 12 years ago
a0d9b6b
Split openFileForRead into Windows and Unix versions.
by Rafael Espindola
· 12 years ago
6d35481
Add a wrapper for open.
by Rafael Espindola
· 12 years ago
d22debd
Remove unique_file now that it is unused.
by Rafael Espindola
· 12 years ago
c9d2e5b
Add a createUniqueFile function and switch llvm's users of unique_file.
by Rafael Espindola
· 12 years ago
325fa0f
Add a higher level createTemporaryFile function.
by Rafael Espindola
· 12 years ago
31a2443
Improve comment.
by Rafael Espindola
· 12 years ago
e79a872
Improvements to unique_file and createUniqueDirectory.
by Rafael Espindola
· 12 years ago
1842482
Don't ask for a mode when we are not keeping the file.
by Rafael Espindola
· 12 years ago
7ffacc4
Add a convenience createUniqueDirectory function.
by Rafael Espindola
· 12 years ago
f1fc382
Rename PathV2 to just Path now that it is the only one.
by Rafael Espindola
· 12 years ago
[Renamed (98%) from llvm/lib/Support/PathV2.cpp]
138e55a
Don't assume ResultPath is null terminated.
by Rafael Espindola
· 12 years ago
7c4d2da
Cleanup in unique_file when we only want the name.
by Rafael Espindola
· 12 years ago
4526b1d
Add a version of unique_file that return just the file name.
by Rafael Espindola
· 12 years ago
e6388e6
Basic support for parsing Mach-O universal binaries in LLVMObject library
by Alexey Samsonov
· 12 years ago
3bc8e71
Move PathV2.h to Path.h
by Rafael Espindola
· 12 years ago
823de7c
Port r183666 to identify_magic.
by Rafael Espindola
· 12 years ago
9b40429
Fix variable name.
by Rafael Espindola
· 12 years ago
134cc99
Add a missing 'e'.
by Rafael Espindola
· 12 years ago
b8055cb
[Support][FileSystem] Fix identify_magic for big endian ELF.
by Michael J. Spencer
· 13 years ago
a86ddf0
<rdar://problem/13477190> On Darwin, use DARWIN_USER_TEMP_DIR or DARWIN_USER_CACHE_DIR for the system temporary directory.
by Douglas Gregor
· 13 years ago
83c74e9
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.
by Guy Benyei
· 13 years ago
ed0881b
Use the new script to sort the includes of every file under lib.
by Chandler Carruth
· 13 years ago
96ebd91
[Support/PathV2] Fix out of bounds access in identify_magic when the file is empty.
by Michael J. Spencer
· 13 years ago
39fb408
[PathV2]: Fix bug in create_directories which caused infinite recursion on
by Michael J. Spencer
· 14 years ago
39ea458
Support/PathV2: Fix namespace qualifier in make_absolute(), for Win32.
by Daniel Dunbar
· 14 years ago
b23158c
Support/PathV2: Fix make_absolute() to match is_absolute() and not expect to
by Daniel Dunbar
· 14 years ago
e646239
[PathV2] Fix bug in relative_path.
by Michael J. Spencer
· 14 years ago
18544b9
Change default error_code ctor to a 'named ctor' so it's more self-documenting.
by David Blaikie
· 14 years ago
5e4f0a4
PathV2: Remove static StringRef ctors.
by Benjamin Kramer
· 14 years ago
4f8a832
Support/FileSystem: Add file_magic and move a vew clients over to it.
by Michael J. Spencer
· 14 years ago
7dfbeda
Cleanup whitespace.
by Michael J. Spencer
· 14 years ago
513f1b6
Support/Windows: Cleanup scoped handles.
by Michael J. Spencer
· 14 years ago
f67d3ff
Fix a minor bug in fs::create_directories. Patch by Albert Wong.
by Eli Friedman
· 14 years ago
8b74454
Update the comment for system_temp_directory() to indicate when it
by Douglas Gregor
· 14 years ago
123dc70
Add a simple routine to determine the typical system directory for
by Douglas Gregor
· 14 years ago
91ead3c
Remove unimplemented function prototypes from PathV2. They can be readded when someone cares enough.
by Benjamin Kramer
· 14 years ago
a61736f
Implement a function from PathV2 whose definition is missing.
by Argyrios Kyrtzidis
· 15 years ago
606bb1a
Adds llvm::sys::path::is_separator() to test whether a char is a path separator
by Zhanyong Wan
· 15 years ago
94b2ab3
Support/PathV2: Add identify_magic.
by Michael J. Spencer
· 15 years ago
7887466
Support/PathV2: Implement has_magic in terms of get_magic.
by Michael J. Spencer
· 15 years ago
d9960c6
Support/Path: Deprecate PathV1::IsSymlink and replace all uses with PathV2::is_symlink.
by Michael J. Spencer
· 15 years ago
0d771ed
Support/Path: Deprecate PathV1::isDirectory and replace all uses with PathV2::is_directory.
by Michael J. Spencer
· 15 years ago
61d6f73
Support/PathV2: Implement remove_all.
by Michael J. Spencer
· 15 years ago
f8dc186
Support/PathV2: Implement directory_entry::status.
by Michael J. Spencer
· 15 years ago
110442d
Fix a signed/unsigned comparison warning.
by Benjamin Kramer
· 15 years ago
848f46b
Support/PathV2: Implement has_magic.
by Michael J. Spencer
· 15 years ago
6d4b7e7
Support/PathV2: Add missing has_relative_path impl.
by Michael J. Spencer
· 15 years ago
ffa42ce
PathV2: Use StringRef::substr to simplify substring creation.
by Benjamin Kramer
· 15 years ago
cb520cd
Missed some StringRefRefs.
by Benjamin Kramer
· 15 years ago
292b44b
Pass StringRefs by value, for consistency.
by Benjamin Kramer
· 15 years ago
730f51a
Support/FileSystem: Change file_status predicate functions that cannot fail to
by Michael J. Spencer
· 15 years ago
a68282c
Support/PathV2: Remove const from bool return types.
by Michael J. Spencer
· 15 years ago
f616b21
Support/PathV2: Change most functions in the path namespace to return their work
by Michael J. Spencer
· 15 years ago
bfea3c7
Support/PathV2: Cleanup separator handling.
by Michael J. Spencer
· 15 years ago
1e090f0
Support/PathV2: Remove the error_code return type from all functions in the path
by Michael J. Spencer
· 15 years ago
92903a3
Support/PathV2: Move make_absolute from path to fs.
by Michael J. Spencer
· 15 years ago
Next »