Change directory_entry::path() to return a const std::string & instead of
authorDan Gohman <gohman@apple.com>
Tue, 1 Mar 2011 22:07:09 +0000 (22:07 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 1 Mar 2011 22:07:09 +0000 (22:07 +0000)
commit9f0512d85ffb44b9513ebc867f4d48d33726257a
tree252715c85b9ab58a61ac035d43aa8e904ce05eb6
parent4c078f0d6df6136cbbcf581c254869051d455fdc
Change directory_entry::path() to return a const std::string & instead of
a StringRef, for the benefit of clients that want the result as a
nul-terminated string. Clients that expect a StringRef will get one via
the implicit conversion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126784 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h