1 | //===-- ObjCConstants.h------------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_OBJCCONSTANTS_H |
10 | #define LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_OBJCCONSTANTS_H |
11 | |
12 | // Objective-C Type Encoding |
13 | #define _C_ID '@' |
14 | #define _C_CLASS '#' |
15 | #define _C_SEL ':' |
16 | #define _C_CHR 'c' |
17 | #define _C_UCHR 'C' |
18 | #define _C_SHT 's' |
19 | #define _C_USHT 'S' |
20 | #define _C_INT 'i' |
21 | #define _C_UINT 'I' |
22 | #define _C_LNG 'l' |
23 | #define _C_ULNG 'L' |
24 | #define _C_LNG_LNG 'q' |
25 | #define _C_ULNG_LNG 'Q' |
26 | #define _C_FLT 'f' |
27 | #define _C_DBL 'd' |
28 | #define _C_BFLD 'b' |
29 | #define _C_BOOL 'B' |
30 | #define _C_VOID 'v' |
31 | #define _C_UNDEF '?' |
32 | #define _C_PTR '^' |
33 | #define _C_CHARPTR '*' |
34 | #define _C_ATOM '%' |
35 | #define _C_ARY_B '[' |
36 | #define _C_ARY_E ']' |
37 | #define _C_UNION_B '(' |
38 | #define _C_UNION_E ')' |
39 | #define _C_STRUCT_B '{' |
40 | #define _C_STRUCT_E '}' |
41 | #define _C_VECTOR '!' |
42 | #define _C_CONST 'r' |
43 | |
44 | #endif // LLDB_SOURCE_PLUGINS_LANGUAGE_OBJC_OBJCCONSTANTS_H |
45 | |