[llvm-commits] CVS: llvm/lib/System/FreeBSD/Path.cpp

Reid Spencer reid at x10sys.com
Fri Nov 5 14:15:49 PST 2004



Changes in directory llvm/lib/System/FreeBSD:

Path.cpp updated: 1.2 -> 1.3
---
Log message:

Stop propagating method names that violate the coding standard

---
Diffs of the changes:  (+3 -3)

Index: llvm/lib/System/FreeBSD/Path.cpp
diff -u llvm/lib/System/FreeBSD/Path.cpp:1.2 llvm/lib/System/FreeBSD/Path.cpp:1.3
--- llvm/lib/System/FreeBSD/Path.cpp:1.2	Fri Sep 10 23:59:30 2004
+++ llvm/lib/System/FreeBSD/Path.cpp	Fri Nov  5 16:15:35 2004
@@ -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;
 }
 






More information about the llvm-commits mailing list