|
14 | 14 | #define SWIFT_STRINGS_H
|
15 | 15 |
|
16 | 16 | namespace swift {
|
17 |
| - /// The extension for serialized modules. |
18 |
| - static const char SERIALIZED_MODULE_EXTENSION[] = "swiftmodule"; |
19 |
| - /// The extension for serialized documentation comments. |
20 |
| - static const char SERIALIZED_MODULE_DOC_EXTENSION[] = "swiftdoc"; |
21 |
| - /// The extension for PCH files. |
22 |
| - static const char PCH_EXTENSION[] = "pch"; |
23 |
| - /// The extension for replacement map files. |
24 |
| - static const char REMAP_EXTENSION[] = "remap"; |
25 |
| - /// The extension for SIL files. |
26 |
| - static const char SIL_EXTENSION[] = "sil"; |
27 |
| - /// The extension for SIB files. |
28 |
| - static const char SIB_EXTENSION[] = "sib"; |
29 |
| - /// The extension for LLVM IR files. |
30 |
| - static const char LLVM_BC_EXTENSION[] = "bc"; |
31 |
| - static const char LLVM_IR_EXTENSION[] = "ll"; |
32 |
| - /// The name of the standard library, which is a reserved module name. |
33 |
| - static const char STDLIB_NAME[] = "Swift"; |
34 |
| - /// The name of the Onone support library, which is a reserved module name. |
35 |
| - static const char SWIFT_ONONE_SUPPORT[] = "SwiftOnoneSupport"; |
36 |
| - /// The name of the SwiftShims module, which contains private stdlib decls. |
37 |
| - static const char SWIFT_SHIMS_NAME[] = "SwiftShims"; |
38 |
| - /// The name of the Builtin module, which contains Builtin functions. |
39 |
| - static const char BUILTIN_NAME[] = "Builtin"; |
40 |
| - /// The prefix of module names used by LLDB to capture Swift expressions |
41 |
| - static const char LLDB_EXPRESSIONS_MODULE_NAME_PREFIX[] = "__lldb_expr_"; |
42 | 17 |
|
43 |
| - /// The name of the fake module used to hold imported Objective-C things. |
44 |
| - static const char MANGLING_MODULE_OBJC[] = "__C"; |
45 |
| - /// The name of the fake module used to hold synthesized ClangImporter things. |
46 |
| - static const char MANGLING_MODULE_CLANG_IMPORTER[] = "__C_Synthesized"; |
| 18 | +/// The extension for serialized modules. |
| 19 | +static const char SERIALIZED_MODULE_EXTENSION[] = "swiftmodule"; |
| 20 | +/// The extension for serialized documentation comments. |
| 21 | +static const char SERIALIZED_MODULE_DOC_EXTENSION[] = "swiftdoc"; |
| 22 | +/// The extension for PCH files. |
| 23 | +static const char PCH_EXTENSION[] = "pch"; |
| 24 | +/// The extension for replacement map files. |
| 25 | +static const char REMAP_EXTENSION[] = "remap"; |
| 26 | +/// The extension for SIL files. |
| 27 | +static const char SIL_EXTENSION[] = "sil"; |
| 28 | +/// The extension for SIB files. |
| 29 | +static const char SIB_EXTENSION[] = "sib"; |
| 30 | +/// The extension for LLVM IR files. |
| 31 | +static const char LLVM_BC_EXTENSION[] = "bc"; |
| 32 | +static const char LLVM_IR_EXTENSION[] = "ll"; |
| 33 | +/// The name of the standard library, which is a reserved module name. |
| 34 | +static const char STDLIB_NAME[] = "Swift"; |
| 35 | +/// The name of the Onone support library, which is a reserved module name. |
| 36 | +static const char SWIFT_ONONE_SUPPORT[] = "SwiftOnoneSupport"; |
| 37 | +/// The name of the SwiftShims module, which contains private stdlib decls. |
| 38 | +static const char SWIFT_SHIMS_NAME[] = "SwiftShims"; |
| 39 | +/// The name of the Builtin module, which contains Builtin functions. |
| 40 | +static const char BUILTIN_NAME[] = "Builtin"; |
| 41 | +/// The prefix of module names used by LLDB to capture Swift expressions |
| 42 | +static const char LLDB_EXPRESSIONS_MODULE_NAME_PREFIX[] = "__lldb_expr_"; |
| 43 | + |
| 44 | +/// The name of the fake module used to hold imported Objective-C things. |
| 45 | +static const char MANGLING_MODULE_OBJC[] = "__C"; |
| 46 | +/// The name of the fake module used to hold synthesized ClangImporter things. |
| 47 | +static const char MANGLING_MODULE_CLANG_IMPORTER[] = "__C_Synthesized"; |
| 48 | + |
| 49 | +/// The name of the Builtin type prefix |
| 50 | +static const char BUILTIN_TYPE_NAME_PREFIX[] = "Builtin."; |
| 51 | +/// The name of the Builtin type for Int |
| 52 | +static const char BUILTIN_TYPE_NAME_INT[] = "Builtin.Int"; |
| 53 | +/// The name of the Builtin type for Int8 |
| 54 | +static const char BUILTIN_TYPE_NAME_INT8[] = "Builtin.Int8"; |
| 55 | +/// The name of the Builtin type for Int16 |
| 56 | +static const char BUILTIN_TYPE_NAME_INT16[] = "Builtin.Int16"; |
| 57 | +/// The name of the Builtin type for Int32 |
| 58 | +static const char BUILTIN_TYPE_NAME_INT32[] = "Builtin.Int32"; |
| 59 | +/// The name of the Builtin type for Int64 |
| 60 | +static const char BUILTIN_TYPE_NAME_INT64[] = "Builtin.Int64"; |
| 61 | +/// The name of the Builtin type for Int128 |
| 62 | +static const char BUILTIN_TYPE_NAME_INT128[] = "Builtin.Int128"; |
| 63 | +/// The name of the Builtin type for Int256 |
| 64 | +static const char BUILTIN_TYPE_NAME_INT256[] = "Builtin.Int256"; |
| 65 | +/// The name of the Builtin type for Int512 |
| 66 | +static const char BUILTIN_TYPE_NAME_INT512[] = "Builtin.Int512"; |
| 67 | +/// The name of the Builtin type for Float |
| 68 | +static const char BUILTIN_TYPE_NAME_FLOAT[] = "Builtin.Float"; |
| 69 | +/// The name of the Builtin type for NativeObject |
| 70 | +static const char BUILTIN_TYPE_NAME_NATIVEOBJECT[] = "Builtin.NativeObject"; |
| 71 | +/// The name of the Builtin type for BridgeObject |
| 72 | +static const char BUILTIN_TYPE_NAME_BRIDGEOBJECT[] = "Builtin.BridgeObject"; |
| 73 | +/// The name of the Builtin type for RawPointer |
| 74 | +static const char BUILTIN_TYPE_NAME_RAWPOINTER[] = "Builtin.RawPointer"; |
| 75 | +/// The name of the Builtin type for UnsafeValueBuffer |
| 76 | +static const char BUILTIN_TYPE_NAME_UNSAFEVALUEBUFFER[] = "Builtin.UnsafeValueBuffer"; |
| 77 | +/// The name of the Builtin type for UnknownObject |
| 78 | +static const char BUILTIN_TYPE_NAME_UNKNOWNOBJECT[] = "Builtin.UnknownObject"; |
| 79 | +/// The name of the Builtin type for Vector |
| 80 | +static const char BUILTIN_TYPE_NAME_VEC[] = "Builtin.Vec"; |
| 81 | +/// The name of the Builtin type for SILToken |
| 82 | +static const char BUILTIN_TYPE_NAME_SILTOKEN[] = "Builtin.SILToken"; |
| 83 | +/// The name of the Builtin type for Word |
| 84 | +static const char BUILTIN_TYPE_NAME_WORD[] = "Builtin.Word"; |
47 | 85 |
|
48 |
| - /// The name of the Builtin type prefix |
49 |
| - static const char BUILTIN_TYPE_NAME_PREFIX[] = "Builtin."; |
50 |
| - /// The name of the Builtin type for Int |
51 |
| - static const char BUILTIN_TYPE_NAME_INT[] = "Builtin.Int"; |
52 |
| - /// The name of the Builtin type for Int8 |
53 |
| - static const char BUILTIN_TYPE_NAME_INT8[] = "Builtin.Int8"; |
54 |
| - /// The name of the Builtin type for Int16 |
55 |
| - static const char BUILTIN_TYPE_NAME_INT16[] = "Builtin.Int16"; |
56 |
| - /// The name of the Builtin type for Int32 |
57 |
| - static const char BUILTIN_TYPE_NAME_INT32[] = "Builtin.Int32"; |
58 |
| - /// The name of the Builtin type for Int64 |
59 |
| - static const char BUILTIN_TYPE_NAME_INT64[] = "Builtin.Int64"; |
60 |
| - /// The name of the Builtin type for Int128 |
61 |
| - static const char BUILTIN_TYPE_NAME_INT128[] = "Builtin.Int128"; |
62 |
| - /// The name of the Builtin type for Int256 |
63 |
| - static const char BUILTIN_TYPE_NAME_INT256[] = "Builtin.Int256"; |
64 |
| - /// The name of the Builtin type for Int512 |
65 |
| - static const char BUILTIN_TYPE_NAME_INT512[] = "Builtin.Int512"; |
66 |
| - /// The name of the Builtin type for Float |
67 |
| - static const char BUILTIN_TYPE_NAME_FLOAT[] = "Builtin.Float"; |
68 |
| - /// The name of the Builtin type for NativeObject |
69 |
| - static const char BUILTIN_TYPE_NAME_NATIVEOBJECT[] = "Builtin.NativeObject"; |
70 |
| - /// The name of the Builtin type for BridgeObject |
71 |
| - static const char BUILTIN_TYPE_NAME_BRIDGEOBJECT[] = "Builtin.BridgeObject"; |
72 |
| - /// The name of the Builtin type for RawPointer |
73 |
| - static const char BUILTIN_TYPE_NAME_RAWPOINTER[] = "Builtin.RawPointer"; |
74 |
| - /// The name of the Builtin type for UnsafeValueBuffer |
75 |
| - static const char BUILTIN_TYPE_NAME_UNSAFEVALUEBUFFER[] = "Builtin.UnsafeValueBuffer"; |
76 |
| - /// The name of the Builtin type for UnknownObject |
77 |
| - static const char BUILTIN_TYPE_NAME_UNKNOWNOBJECT[] = "Builtin.UnknownObject"; |
78 |
| - /// The name of the Builtin type for Vector |
79 |
| - static const char BUILTIN_TYPE_NAME_VEC[] = "Builtin.Vec"; |
80 |
| - /// The name of the Builtin type for SILToken |
81 |
| - static const char BUILTIN_TYPE_NAME_SILTOKEN[] = "Builtin.SILToken"; |
82 |
| - /// The name of the Builtin type for Word |
83 |
| - static const char BUILTIN_TYPE_NAME_WORD[] = "Builtin.Word"; |
84 | 86 | } // end namespace swift
|
85 | 87 |
|
86 | 88 | #endif // SWIFT_STRINGS_H
|
0 commit comments