summaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h')
-rw-r--r--contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h b/contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h
new file mode 100644
index 000000000000..d28c441593ea
--- /dev/null
+++ b/contrib/llvm-project/lldb/include/lldb/API/SBLanguageRuntime.h
@@ -0,0 +1,25 @@
+//===-- SBLanguageRuntime.h -------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBLanguageRuntime_h_
+#define LLDB_SBLanguageRuntime_h_
+
+#include "lldb/API/SBDefines.h"
+
+namespace lldb {
+
+class SBLanguageRuntime {
+public:
+ static lldb::LanguageType GetLanguageTypeFromString(const char *string);
+
+ static const char *GetNameForLanguageType(lldb::LanguageType language);
+};
+
+} // namespace lldb
+
+#endif // LLDB_SBLanguageRuntime_h_