diff options
author | Rui Ueyama <ruiu@google.com> | 2015-02-05 22:51:36 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-02-05 22:51:36 +0000 |
commit | f038a525428dc14fa80fb92763b030b3402923ec (patch) | |
tree | 582530a16a768df75930c74ab44871351894ac24 /libcxx/include | |
parent | b5d5bceefe2bd2bf56ef6b8a6bfd706198d00e79 (diff) | |
download | bcm5719-llvm-f038a525428dc14fa80fb92763b030b3402923ec.tar.gz bcm5719-llvm-f038a525428dc14fa80fb92763b030b3402923ec.zip |
Add methods to get archive file name from member file.
Previously we only have File::path() to get the path name of a file.
If a file was a member of an archive file, path() returns a concatenated
string of the file name in the archive and the archive file name.
If we wanted to get a file name or an archive file name, we had to
parse that string. That's of course not good.
This patch adds new member functions, archivePath and memberPath, to File.
http://reviews.llvm.org/D7447
llvm-svn: 228352
Diffstat (limited to 'libcxx/include')
0 files changed, 0 insertions, 0 deletions