Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 1 | //===-- SBLanguageRuntime.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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 9 | #ifndef LLDB_API_SBLANGUAGERUNTIME_H |
| 10 | #define LLDB_API_SBLANGUAGERUNTIME_H |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 11 | |
| 12 | #include "lldb/API/SBDefines.h" |
| 13 | |
| 14 | namespace lldb { |
| 15 | |
| 16 | class SBLanguageRuntime { |
| 17 | public: |
| 18 | static lldb::LanguageType GetLanguageTypeFromString(const char *string); |
| 19 | |
| 20 | static const char *GetNameForLanguageType(lldb::LanguageType language); |
| 21 | }; |
| 22 | |
| 23 | } // namespace lldb |
| 24 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 25 | #endif // LLDB_API_SBLANGUAGERUNTIME_H |