[llvm-commits] CVS: llvm/include/llvm/System/Path.h
Reid Spencer
reid at x10sys.com
Tue Apr 3 23:30:06 PDT 2007
Changes in directory llvm/include/llvm/System:
Path.h updated: 1.48 -> 1.49
---
Log message:
For PR1302: http://llvm.org/PR1302 :
Make the FileType enumerators more readable and add COFF, ELF and Mach-O.
---
Diffs of the changes: (+7 -4)
Path.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
Index: llvm/include/llvm/System/Path.h
diff -u llvm/include/llvm/System/Path.h:1.48 llvm/include/llvm/System/Path.h:1.49
--- llvm/include/llvm/System/Path.h:1.48 Thu Mar 29 14:05:44 2007
+++ llvm/include/llvm/System/Path.h Wed Apr 4 01:29:49 2007
@@ -536,10 +536,13 @@
/// This enumeration delineates the kinds of files that LLVM knows about.
enum LLVMFileType {
- UnknownFileType = 0, ///< Unrecognized file
- BytecodeFileType = 1, ///< Uncompressed bytecode file
- CompressedBytecodeFileType = 2, ///< Compressed bytecode file
- ArchiveFileType = 3 ///< ar style archive file
+ Unknown_FileType = 0, ///< Unrecognized file
+ Bytecode_FileType = 1, ///< Uncompressed bytecode file
+ CompressedBytecode_FileType = 2, ///< Compressed bytecode file
+ Archive_FileType = 3, ///< ar style archive file
+ ELF_FileType = 4, ///< Native ELF object file or lib
+ Mach_O_FileType = 5, ///< Native Mach-O object file or lib
+ COFF_FileType = 6 ///< COFF object file or lib
};
/// This utility function allows any memory block to be examined in order
More information about the llvm-commits
mailing list