Changes in directory llvm/tools/llvmc:
CompilerDriver.cpp updated: 1.46 -> 1.47 --- Log message: For PR1291: http://llvm.org/PR1291 : Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. --- Diffs of the changes: (+2 -1) CompilerDriver.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/llvmc/CompilerDriver.cpp diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.46 llvm/tools/llvmc/CompilerDriver.cpp:1.47 --- llvm/tools/llvmc/CompilerDriver.cpp:1.46 Thu Mar 29 14:05:44 2007 +++ llvm/tools/llvmc/CompilerDriver.cpp Sat Apr 7 13:53:16 2007 @@ -195,7 +195,8 @@ void cleanup() { if (!isSet(KEEP_TEMPS_FLAG)) { - const sys::FileStatus *Status = TempDir.getFileStatus(); + const sys::FileStatus *Status = + sys::PathWithStatus(TempDir).getFileStatus(); if (Status && Status->isDir) TempDir.eraseFromDisk(/*remove_contents=*/true); } else { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits