Changes in directory llvm/tools/llvmc:
CompilerDriver.cpp updated: 1.47 -> 1.48 --- Log message: Make TempDir a PathWithStatus so we don't have to cast it to one. --- Diffs of the changes: (+2 -3) CompilerDriver.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/tools/llvmc/CompilerDriver.cpp diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.47 llvm/tools/llvmc/CompilerDriver.cpp:1.48 --- llvm/tools/llvmc/CompilerDriver.cpp:1.47 Sat Apr 7 13:53:16 2007 +++ llvm/tools/llvmc/CompilerDriver.cpp Sun Apr 8 15:08:01 2007 @@ -195,8 +195,7 @@ void cleanup() { if (!isSet(KEEP_TEMPS_FLAG)) { - const sys::FileStatus *Status = - sys::PathWithStatus(TempDir).getFileStatus(); + const sys::FileStatus *Status = TempDir.getFileStatus(); if (Status && Status->isDir) TempDir.eraseFromDisk(/*remove_contents=*/true); } else { @@ -997,7 +996,7 @@ PathVector IncludePaths; ///< -I options PathVector ToolPaths; ///< -B options StringVector Defines; ///< -D options - sys::Path TempDir; ///< Name of the temporary directory. + sys::PathWithStatus TempDir; ///< Name of the temporary directory. StringTable AdditionalArgs; ///< The -Txyz options StringVector fOptions; ///< -f options StringVector MOptions; ///< -M options _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits