Stop propagating method names that violate the coding standard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17498 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Interix/Path.cpp b/lib/System/Interix/Path.cpp
index 47f6c5d..45ab13a 100644
--- a/lib/System/Interix/Path.cpp
+++ b/lib/System/Interix/Path.cpp
@@ -23,7 +23,7 @@
using namespace sys;
bool
-Path::is_valid() const {
+Path::isValid() const {
if (path.empty())
return false;
char pathname[MAXPATHLEN];
@@ -40,8 +40,8 @@
if (0 == mkdtemp(pathname))
ThrowErrno(std::string(pathname) + ": Can't create temporary directory");
Path result;
- result.set_directory(pathname);
- assert(result.is_valid() && "mkdtemp didn't create a valid pathname!");
+ result.setDirectory(pathname);
+ assert(result.isValid() && "mkdtemp didn't create a valid pathname!");
return result;
}