aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-07 19:50:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-07 19:50:21 +0000
commitbe5dcf5c1e21a1d8041d7c7f9424123dbd664d3c (patch)
treeb6763e5e8458029dd6474f61edd747cd1a029734
parent8e27acf48945980380679fddd86d611e3d614e36 (diff)
For PR1291:
Change to use PathWithStatus git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35746 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Bytecode/Archive.h14
-rw-r--r--include/llvm/Support/FileUtilities.h3
2 files changed, 9 insertions, 8 deletions
diff --git a/include/llvm/Bytecode/Archive.h b/include/llvm/Bytecode/Archive.h
index d0a72561e4..f871a990b4 100644
--- a/include/llvm/Bytecode/Archive.h
+++ b/include/llvm/Bytecode/Archive.h
@@ -190,13 +190,13 @@ class ArchiveMember {
/// @name Data
/// @{
private:
- ArchiveMember* next; ///< Pointer to next archive member
- ArchiveMember* prev; ///< Pointer to previous archive member
- Archive* parent; ///< Pointer to parent archive
- sys::Path path; ///< Path of file containing the member
- sys::FileStatus info; ///< Status info (size,mode,date)
- unsigned flags; ///< Flags about the archive member
- const void* data; ///< Data for the member
+ ArchiveMember* next; ///< Pointer to next archive member
+ ArchiveMember* prev; ///< Pointer to previous archive member
+ Archive* parent; ///< Pointer to parent archive
+ sys::PathWithStatus path; ///< Path of file containing the member
+ sys::FileStatus info; ///< Status info (size,mode,date)
+ unsigned flags; ///< Flags about the archive member
+ const void* data; ///< Data for the member
/// @}
/// @name Constructors
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h
index d0d193deb9..9cebe23862 100644
--- a/include/llvm/Support/FileUtilities.h
+++ b/include/llvm/Support/FileUtilities.h
@@ -26,7 +26,8 @@ namespace llvm {
/// option, it will set the string to an error message if an error occurs, or
/// if the files are different.
///
- int DiffFilesWithTolerance(const sys::Path &FileA, const sys::Path &FileB,
+ int DiffFilesWithTolerance(const sys::PathWithStatus &FileA,
+ const sys::PathWithStatus &FileB,
double AbsTol, double RelTol,
std::string *Error = 0);