Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:37

0001 //===- llvm/TextAPI/FileTypes.h - TAPI Interface File -----------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_TEXTAPI_FILETYPES_H
0010 #define LLVM_TEXTAPI_FILETYPES_H
0011 
0012 #include "llvm/ADT/BitmaskEnum.h"
0013 namespace llvm::MachO {
0014 /// Defines the file type TextAPI files can represent.
0015 enum FileType : unsigned {
0016   /// Invalid file type.
0017   Invalid = 0U,
0018 
0019   /// \brief MachO Dynamic Library file.
0020   MachO_DynamicLibrary = 1U << 0,
0021 
0022   /// \brief MachO Dynamic Library Stub file.
0023   MachO_DynamicLibrary_Stub = 1U << 1,
0024 
0025   /// \brief MachO Bundle file.
0026   MachO_Bundle = 1U << 2,
0027 
0028   /// Text-based stub file (.tbd) version 1.0
0029   TBD_V1 = 1U << 3,
0030 
0031   /// Text-based stub file (.tbd) version 2.0
0032   TBD_V2 = 1U << 4,
0033 
0034   /// Text-based stub file (.tbd) version 3.0
0035   TBD_V3 = 1U << 5,
0036 
0037   /// Text-based stub file (.tbd) version 4.0
0038   TBD_V4 = 1U << 6,
0039 
0040   /// Text-based stub file (.tbd) version 5.0
0041   TBD_V5 = 1U << 7,
0042 
0043   All = ~0U,
0044 
0045   LLVM_MARK_AS_BITMASK_ENUM(/*LargestValue=*/All),
0046 };
0047 
0048 } // namespace llvm::MachO
0049 #endif // LLVM_TEXTAPI_FILETYPES_H