Yaron Keren
a414154d8e
Fix hardcoded slash to native path seperator which was exposed from llvm::sys::path.
...
http://reviews.llvm.org/D3687
llvm-svn: 208980
2014-05-16 13:16:30 +00:00
Peter Collingbourne
6cd66bd2db
Introduce llvm::sys::path::home_directory.
...
This will be used by the line editor library to derive a default path to
the history file.
Differential Revision: http://llvm-reviews.chandlerc.com/D2199
llvm-svn: 200594
2014-01-31 23:46:06 +00:00
Benjamin Kramer
10412fd112
Path: Add an in-place version of path::native.
...
This reflects the common use case of nativizing a prepared path. The existing
version invokes undefined behavior if input = output, add an assert to catch
that case.
llvm-svn: 190510
2013-09-11 10:45:21 +00:00
Rui Ueyama
c5f4ff2116
Clarify comment for extension().
...
llvm-svn: 186636
2013-07-19 00:51:17 +00:00
Rafael Espindola
191f66d683
Move PathV2.h to Path.h
...
Most clients have already been moved from Path V1 to V2. The ones using V1
now include PathV1.h explicitly.
llvm-svn: 183801
2013-06-11 22:21:28 +00:00
Rafael Espindola
968c6bbebf
Include PathV1.h in files that use it.
...
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183782
2013-06-11 20:00:56 +00:00
Michael J. Spencer
63aaa03399
Support: Rename Path.h to PathV1.h and add a new Path.h that includes both V1 and V2.
...
llvm-svn: 122065
2010-12-17 17:22:36 +00:00
Dan Gohman
3ff3bc0c31
Delete Path::appendSuffix's return value; it wasn't used anywhere, which
...
is fine since isn't really necessary to check isValid there anyway.
llvm-svn: 120538
2010-12-01 02:46:41 +00:00
Charles Davis
e7f14dfdb8
Now to chant the magical incantation that will exorcise the System library
...
from LLVM forever:
grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g'
llvm-svn: 120314
2010-11-29 19:44:50 +00:00
Michael J. Spencer
d5ec932c3a
Merge System into Support.
...
llvm-svn: 120298
2010-11-29 18:16:10 +00:00