mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
add a helper method to sys::Path for clang, patch by
Kovarththanan Rajaratnam! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -81,6 +81,12 @@ Path::Path(const std::string& p)
|
||||
Path::Path(const char *StrStart, unsigned StrLen)
|
||||
: path(StrStart, StrLen) {}
|
||||
|
||||
Path&
|
||||
Path::operator=(const std::string &that) {
|
||||
path = that;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool
|
||||
Path::isValid() const {
|
||||
// Check some obvious things
|
||||
|
Reference in New Issue
Block a user