Stop propagating method names that violate the coding standard
[oota-llvm.git] / lib / System / Interix / Path.cpp
index 47f6c5d7db1610593572cef4393088cdd8ad3da6..45ab13a6dc683a07edcc80c0268382cdc8017a7e 100644 (file)
@@ -23,7 +23,7 @@ namespace llvm {
 using namespace sys;
 
 bool 
-Path::is_valid() const {
+Path::isValid() const {
   if (path.empty()) 
     return false;
   char pathname[MAXPATHLEN];
@@ -40,8 +40,8 @@ Path::GetTemporaryDirectory() {
   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;
 }