diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-07 19:50:21 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-07 19:50:21 +0000 |
| commit | 43340fee012416342a503be42b15566768ecb62c (patch) | |
| tree | 7a03a2103b8dc5f5d147171103cda216dc09ccd2 | |
| parent | e061303a9cc859dcc0053d4b4684c7d09ed554a9 (diff) | |
| download | bcm5719-llvm-43340fee012416342a503be42b15566768ecb62c.tar.gz bcm5719-llvm-43340fee012416342a503be42b15566768ecb62c.zip | |
For PR1291:
Change to use PathWithStatus
llvm-svn: 35746
| -rw-r--r-- | llvm/include/llvm/Bytecode/Archive.h | 14 | ||||
| -rw-r--r-- | llvm/include/llvm/Support/FileUtilities.h | 3 |
2 files changed, 9 insertions, 8 deletions
diff --git a/llvm/include/llvm/Bytecode/Archive.h b/llvm/include/llvm/Bytecode/Archive.h index d0a72561e41..f871a990b4b 100644 --- a/llvm/include/llvm/Bytecode/Archive.h +++ b/llvm/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/llvm/include/llvm/Support/FileUtilities.h b/llvm/include/llvm/Support/FileUtilities.h index d0d193deb95..9cebe238623 100644 --- a/llvm/include/llvm/Support/FileUtilities.h +++ b/llvm/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); |

