aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/System/Path.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-04 06:29:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-04 06:29:49 +0000
commit73ca166145fe2de4e1eadbcc25bacc4a5ad95346 (patch)
treeb7878ab6f62efd28883c681f30023365d1f8d5ef /include/llvm/System/Path.h
parent6401260af24812454817891ca60b2126a14d5b6f (diff)
For PR1302:
Make the FileType enumerators more readable and add COFF, ELF and Mach-O. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System/Path.h')
-rw-r--r--include/llvm/System/Path.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 84e6942cd4..e2519853c9 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -536,10 +536,13 @@ namespace sys {
/// 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