Douglas Gregor
|
66d5bb28aa
|
Update the comment for system_temp_directory() to indicate when it
will ignore the erasedOnReboot option, and properly escape the
backslash in "C:\TEMP". Thanks to Aaron and Francois.
llvm-svn: 139755
|
2011-09-14 23:21:47 +00:00 |
|
Douglas Gregor
|
96b7e66374
|
Add a simple routine to determine the typical system directory for
temporary data.
llvm-svn: 139725
|
2011-09-14 20:27:01 +00:00 |
|
Benjamin Kramer
|
2c621d55f6
|
Remove unimplemented function prototypes from PathV2. They can be readded when someone cares enough.
Patch by Aaron Ballman!
llvm-svn: 139682
|
2011-09-14 01:14:36 +00:00 |
|
Argyrios Kyrtzidis
|
bd74fadd7b
|
Implement a function from PathV2 whose definition is missing.
llvm-svn: 125574
|
2011-02-15 17:51:19 +00:00 |
|
Zhanyong Wan
|
c1bc219fc1
|
Adds llvm::sys::path::is_separator() to test whether a char is a path separator
on the host OS. Reviewed by dgregor.
llvm-svn: 125406
|
2011-02-11 21:24:40 +00:00 |
|
Michael J. Spencer
|
e1defa51ae
|
Support/PathV2: Add identify_magic.
llvm-svn: 123548
|
2011-01-15 20:39:36 +00:00 |
|
Michael J. Spencer
|
86a5515979
|
Support/PathV2: Implement has_magic in terms of get_magic.
llvm-svn: 123545
|
2011-01-15 18:52:41 +00:00 |
|
Michael J. Spencer
|
b9cf8adbe7
|
Support/Path: Deprecate PathV1::IsSymlink and replace all uses with PathV2::is_symlink.
llvm-svn: 123345
|
2011-01-12 23:55:06 +00:00 |
|
Michael J. Spencer
|
6d4a8a7b72
|
Support/Path: Deprecate PathV1::isDirectory and replace all uses with PathV2::is_directory.
llvm-svn: 123209
|
2011-01-11 01:21:55 +00:00 |
|
Michael J. Spencer
|
76c9f102b3
|
Support/PathV2: Implement remove_all.
llvm-svn: 122884
|
2011-01-05 16:39:38 +00:00 |
|
Michael J. Spencer
|
6bae59fb06
|
Support/PathV2: Implement directory_entry::status.
llvm-svn: 122881
|
2011-01-05 16:39:13 +00:00 |
|
Benjamin Kramer
|
133004a64d
|
Fix a signed/unsigned comparison warning.
llvm-svn: 122597
|
2010-12-28 13:05:13 +00:00 |
|
Michael J. Spencer
|
018595cf3a
|
Support/PathV2: Implement has_magic.
llvm-svn: 122587
|
2010-12-28 01:49:01 +00:00 |
|
Michael J. Spencer
|
8e93c3829f
|
Support/PathV2: Add missing has_relative_path impl.
llvm-svn: 122243
|
2010-12-20 13:30:28 +00:00 |
|
Benjamin Kramer
|
8aca840aff
|
PathV2: Use StringRef::substr to simplify substring creation.
llvm-svn: 122085
|
2010-12-17 20:27:37 +00:00 |
|
Benjamin Kramer
|
a7366b3f19
|
Missed some StringRefRefs.
llvm-svn: 122077
|
2010-12-17 18:59:09 +00:00 |
|
Benjamin Kramer
|
89db30db3a
|
Pass StringRefs by value, for consistency.
llvm-svn: 122074
|
2010-12-17 18:19:06 +00:00 |
|
Michael J. Spencer
|
1d95a8f9bc
|
Support/FileSystem: Change file_status predicate functions that cannot fail to
return their result instead of an error_code. Also add some missing predicate
functions.
llvm-svn: 121380
|
2010-12-09 17:37:02 +00:00 |
|
Michael J. Spencer
|
3dc94b3cc1
|
Support/PathV2: Remove const from bool return types.
llvm-svn: 121157
|
2010-12-07 18:12:07 +00:00 |
|
Michael J. Spencer
|
7979bb402f
|
Support/PathV2: Change most functions in the path namespace to return their work
via their return value instead of an out parameter.
llvm-svn: 121149
|
2010-12-07 17:04:04 +00:00 |
|
Michael J. Spencer
|
0ce07529b3
|
Support/PathV2: Cleanup separator handling.
llvm-svn: 121110
|
2010-12-07 03:57:48 +00:00 |
|
Michael J. Spencer
|
a96fe51fa6
|
Support/PathV2: Remove the error_code return type from all functions in the path
namespace. None of them return anything except for success anyway. These will be
converted to returning their result soon.
llvm-svn: 121109
|
2010-12-07 03:57:37 +00:00 |
|
Michael J. Spencer
|
7c3efd63d4
|
Support/PathV2: Move make_absolute from path to fs.
llvm-svn: 121108
|
2010-12-07 03:57:17 +00:00 |
|
Michael J. Spencer
|
cfd185355b
|
Support/PathV2: Use SmallVector::clear instead of set_size.
llvm-svn: 121092
|
2010-12-07 01:23:19 +00:00 |
|
Michael J. Spencer
|
898af0f235
|
Support/PathV2: Move current_path from path to fs and fix the Unix implementation.
Unix bug spotted by Dan Gohman.
llvm-svn: 121090
|
2010-12-07 01:22:31 +00:00 |
|
Michael J. Spencer
|
244b426701
|
Support/FileSystem: Add directory_iterator implementation.
llvm-svn: 120989
|
2010-12-06 04:28:42 +00:00 |
|
Michael J. Spencer
|
36a2df800d
|
Support/PathV2: Fix append to not add a slash to empty or root paths.
llvm-svn: 120988
|
2010-12-06 04:28:23 +00:00 |
|
Bill Wendling
|
18e834f217
|
Silence 'may be used uninitialized in this function' warnings. Static analysis
may determine that they cannot be used uninitialized. But that might be a bit
too much for the compiler to determine.
llvm-svn: 120916
|
2010-12-04 20:20:34 +00:00 |
|
Michael J. Spencer
|
2cd429339f
|
Support/PathV2: Remove redundant calls to make_error_code.
llvm-svn: 120913
|
2010-12-04 18:45:32 +00:00 |
|
Michael J. Spencer
|
5a2272dcef
|
Support/FileSystem: Add status implementation.
llvm-svn: 120870
|
2010-12-04 00:32:40 +00:00 |
|
Michael J. Spencer
|
96236c93ff
|
Support/FileSystem: Add create_director{y,ies} implementations.
llvm-svn: 120790
|
2010-12-03 05:42:11 +00:00 |
|
Michael J. Spencer
|
42a5674c7a
|
Support/FileSystem: Add copy_file implementation. Not tests yet because the
file creation APIs aren't implemented.
llvm-svn: 120593
|
2010-12-01 19:32:01 +00:00 |
|
Michael J. Spencer
|
1796028f41
|
Support/PathV2: Add is_{absolute,relative} implementation.
llvm-svn: 120560
|
2010-12-01 06:21:53 +00:00 |
|
Michael J. Spencer
|
5aa4703418
|
Support/PathV2: Add has_{root_path,root_name,root_directory,parent_path,filename,stem,extension} implementation.
llvm-svn: 120559
|
2010-12-01 06:03:50 +00:00 |
|
Michael J. Spencer
|
f6333e887f
|
Support/PathV2: Add extension implementation.
llvm-svn: 120550
|
2010-12-01 03:37:41 +00:00 |
|
Michael J. Spencer
|
14039e9883
|
Support/PathV2: Add stem implementation.
llvm-svn: 120547
|
2010-12-01 03:18:33 +00:00 |
|
Michael J. Spencer
|
c3aaf36678
|
Support/PathV2: Add filename implementation.
llvm-svn: 120546
|
2010-12-01 03:18:17 +00:00 |
|
Michael J. Spencer
|
4beee08409
|
Support/PathV2: Add native implementation.
llvm-svn: 120539
|
2010-12-01 02:48:27 +00:00 |
|
Michael J. Spencer
|
8d5c96c575
|
Support/PathV2: Add replace_extension implementation.
llvm-svn: 120514
|
2010-12-01 00:52:55 +00:00 |
|
Michael J. Spencer
|
5ac386d311
|
Support/PathV2: Add remove_filename implementation.
llvm-svn: 120513
|
2010-12-01 00:52:28 +00:00 |
|
Michael J. Spencer
|
a10e76dd58
|
Support/PathV2: Implement reverse iteration and parent_path.
llvm-svn: 120496
|
2010-11-30 23:28:07 +00:00 |
|
Michael J. Spencer
|
8ac563a538
|
Support: Add PathV2 implementation.
llvm-svn: 120329
|
2010-11-29 22:28:51 +00:00 |
|