summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/PathV2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support/PathV2: Add missing has_relative_path impl.Michael J. Spencer2010-12-201-0/+7
| | | | llvm-svn: 122243
* PathV2: Use StringRef::substr to simplify substring creation.Benjamin Kramer2010-12-171-27/+17
| | | | llvm-svn: 122085
* Missed some StringRefRefs.Benjamin Kramer2010-12-171-1/+1
| | | | llvm-svn: 122077
* Pass StringRefs by value, for consistency.Benjamin Kramer2010-12-171-13/+13
| | | | llvm-svn: 122074
* Support/FileSystem: Change file_status predicate functions that cannot fail toMichael J. Spencer2010-12-091-0/+27
| | | | | | | return their result instead of an error_code. Also add some missing predicate functions. llvm-svn: 121380
* Support/PathV2: Remove const from bool return types.Michael J. Spencer2010-12-071-9/+9
| | | | llvm-svn: 121157
* Support/PathV2: Change most functions in the path namespace to return their workMichael J. Spencer2010-12-071-100/+62
| | | | | | via their return value instead of an out parameter. llvm-svn: 121149
* Support/PathV2: Cleanup separator handling.Michael J. Spencer2010-12-071-7/+10
| | | | llvm-svn: 121110
* Support/PathV2: Remove the error_code return type from all functions in the pathMichael J. Spencer2010-12-071-90/+60
| | | | | | | namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109
* Support/PathV2: Move make_absolute from path to fs.Michael J. Spencer2010-12-071-55/+57
| | | | llvm-svn: 121108
* Support/PathV2: Use SmallVector::clear instead of set_size.Michael J. Spencer2010-12-071-1/+1
| | | | llvm-svn: 121092
* Support/PathV2: Move current_path from path to fs and fix the Unix ↵Michael J. Spencer2010-12-071-1/+1
| | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090
* Support/FileSystem: Add directory_iterator implementation.Michael J. Spencer2010-12-061-0/+10
| | | | llvm-svn: 120989
* Support/PathV2: Fix append to not add a slash to empty or root paths.Michael J. Spencer2010-12-061-1/+1
| | | | llvm-svn: 120988
* Silence 'may be used uninitialized in this function' warnings. Static analysisBill Wendling2010-12-041-2/+2
| | | | | | | may determine that they cannot be used uninitialized. But that might be a bit too much for the compiler to determine. llvm-svn: 120916
* Support/PathV2: Remove redundant calls to make_error_code.Michael J. Spencer2010-12-041-32/+32
| | | | llvm-svn: 120913
* Support/FileSystem: Add status implementation.Michael J. Spencer2010-12-041-0/+2
| | | | llvm-svn: 120870
* Support/FileSystem: Add create_director{y,ies} implementations.Michael J. Spencer2010-12-031-0/+15
| | | | llvm-svn: 120790
* Support/FileSystem: Add copy_file implementation. Not tests yet because theMichael J. Spencer2010-12-011-3/+8
| | | | | | file creation APIs aren't implemented. llvm-svn: 120593
* Support/PathV2: Add is_{absolute,relative} implementation.Michael J. Spencer2010-12-011-0/+24
| | | | llvm-svn: 120560
* Support/PathV2: Add ↵Michael J. Spencer2010-12-011-18/+70
| | | | | | has_{root_path,root_name,root_directory,parent_path,filename,stem,extension} implementation. llvm-svn: 120559
* Support/PathV2: Add extension implementation.Michael J. Spencer2010-12-011-0/+16
| | | | llvm-svn: 120550
* Support/PathV2: Add stem implementation.Michael J. Spencer2010-12-011-0/+16
| | | | llvm-svn: 120547
* Support/PathV2: Add filename implementation.Michael J. Spencer2010-12-011-0/+5
| | | | llvm-svn: 120546
* Support/PathV2: Add native implementation.Michael J. Spencer2010-12-011-0/+22
| | | | llvm-svn: 120539
* Support/PathV2: Add replace_extension implementation.Michael J. Spencer2010-12-011-0/+20
| | | | llvm-svn: 120514
* Support/PathV2: Add remove_filename implementation.Michael J. Spencer2010-12-011-0/+8
| | | | llvm-svn: 120513
* Support/PathV2: Implement reverse iteration and parent_path.Michael J. Spencer2010-11-301-8/+115
| | | | llvm-svn: 120496
* Support: Add PathV2 implementation.Michael J. Spencer2010-11-291-0/+409
llvm-svn: 120329
OpenPOWER on IntegriCloud