[llvm-commits] CVS: llvm/lib/System/AIX/Path.cpp
Reid Spencer
reid at x10sys.com
Fri Nov 5 14:15:49 PST 2004
Changes in directory llvm/lib/System/AIX:
Path.cpp updated: 1.5 -> 1.6
---
Log message:
Stop propagating method names that violate the coding standard
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/System/AIX/Path.cpp
diff -u llvm/lib/System/AIX/Path.cpp:1.5 llvm/lib/System/AIX/Path.cpp:1.6
--- llvm/lib/System/AIX/Path.cpp:1.5 Mon Oct 18 12:39:45 2004
+++ llvm/lib/System/AIX/Path.cpp Fri Nov 5 16:15:35 2004
@@ -24,7 +24,7 @@
//===----------------------------------------------------------------------===//
bool
-Path::is_valid() const {
+Path::isValid() const {
if (path.empty())
return false;
if (path.length() >= MAXPATHLEN)
@@ -43,8 +43,8 @@
if (!mkdir(TmpName, S_IRWXU))
ThrowErrno(std::string(TmpName) + ": Can't create temporary directory");
Path result;
- result.set_directory(TmpName);
- assert(result.is_valid() && "mkdtemp didn't create a valid pathname!");
+ result.setDirectory(TmpName);
+ assert(result.isValid() && "mkdtemp didn't create a valid pathname!");
return result;
}
More information about the llvm-commits
mailing list