xref: /freebsd/lib/clang/include/lldb/API/SBLanguages.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1 //===-- SBLanguages.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_API_SBLANGUAGE_H
10 #define LLDB_API_SBLANGUAGE_H
11 
12 namespace lldb {
13 /// Used by \ref SBExpressionOptions.
14 /// These enumerations use the same language enumerations as the DWARF
15 /// specification for ease of use and consistency.
16 enum SBSourceLanguageName : uint16_t {
17   /// ISO Ada.
18   eLanguageNameAda = 0x0001,
19   /// BLISS.
20   eLanguageNameBLISS = 0x0002,
21   /// C (K&R and ISO).
22   eLanguageNameC = 0x0003,
23   /// ISO C++.
24   eLanguageNameC_plus_plus = 0x0004,
25   /// ISO Cobol.
26   eLanguageNameCobol = 0x0005,
27   /// Crystal.
28   eLanguageNameCrystal = 0x0006,
29   /// D.
30   eLanguageNameD = 0x0007,
31   /// Dylan.
32   eLanguageNameDylan = 0x0008,
33   /// ISO Fortran.
34   eLanguageNameFortran = 0x0009,
35   /// Go.
36   eLanguageNameGo = 0x000a,
37   /// Haskell.
38   eLanguageNameHaskell = 0x000b,
39   /// Java.
40   eLanguageNameJava = 0x000c,
41   /// Julia.
42   eLanguageNameJulia = 0x000d,
43   /// Kotlin.
44   eLanguageNameKotlin = 0x000e,
45   /// Modula 2.
46   eLanguageNameModula2 = 0x000f,
47   /// Modula 3.
48   eLanguageNameModula3 = 0x0010,
49   /// Objective C.
50   eLanguageNameObjC = 0x0011,
51   /// Objective C++.
52   eLanguageNameObjC_plus_plus = 0x0012,
53   /// OCaml.
54   eLanguageNameOCaml = 0x0013,
55   /// OpenCL C.
56   eLanguageNameOpenCL_C = 0x0014,
57   /// ISO Pascal.
58   eLanguageNamePascal = 0x0015,
59   /// ANSI PL/I.
60   eLanguageNamePLI = 0x0016,
61   /// Python.
62   eLanguageNamePython = 0x0017,
63   /// RenderScript Kernel Language.
64   eLanguageNameRenderScript = 0x0018,
65   /// Rust.
66   eLanguageNameRust = 0x0019,
67   /// Swift.
68   eLanguageNameSwift = 0x001a,
69   /// Unified Parallel C (UPC).
70   eLanguageNameUPC = 0x001b,
71   /// Zig.
72   eLanguageNameZig = 0x001c,
73   /// Assembly.
74   eLanguageNameAssembly = 0x001d,
75   /// C#.
76   eLanguageNameC_sharp = 0x001e,
77   /// Mojo.
78   eLanguageNameMojo = 0x001f,
79   /// OpenGL Shading Language.
80   eLanguageNameGLSL = 0x0020,
81   /// OpenGL ES Shading Language.
82   eLanguageNameGLSL_ES = 0x0021,
83   /// High Level Shading Language.
84   eLanguageNameHLSL = 0x0022,
85   /// OpenCL C++.
86   eLanguageNameOpenCL_CPP = 0x0023,
87   /// C++ for OpenCL.
88   eLanguageNameCPP_for_OpenCL = 0x0024,
89   /// SYCL.
90   eLanguageNameSYCL = 0x0025,
91   /// Ruby.
92   eLanguageNameRuby = 0x0026,
93   /// Move.
94   eLanguageNameMove = 0x0027,
95   /// Hylo.
96   eLanguageNameHylo = 0x0028,
97 };
98 
99 } // namespace lldb
100 
101 #endif
102