summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp b/contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp
new file mode 100644
index 0000000..743343e
--- /dev/null
+++ b/contrib/llvm/tools/lldb/source/API/SBLanguageRuntime.cpp
@@ -0,0 +1,26 @@
+//===-- SBLanguageRuntime.cpp -----------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/API/SBLanguageRuntime.h"
+#include "lldb/Target/Language.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+lldb::LanguageType
+SBLanguageRuntime::GetLanguageTypeFromString (const char *string)
+{
+ return Language::GetLanguageTypeFromString(string);
+}
+
+const char *
+SBLanguageRuntime::GetNameForLanguageType (lldb::LanguageType language)
+{
+ return Language::GetNameForLanguageType(language);
+}
OpenPOWER on IntegriCloud