blob: c7e7b251197166b53acbb6299d18455d02674de7 [file] [log] [blame]
Kate Stoneb9c1b512016-09-06 20:57:50 +00001//===-- CPPLanguageRuntime.cpp
2//-------------------------------------------------*- C++ -*-===//
Jim Ingham22777012010-09-23 02:01:19 +00003//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#include "lldb/Target/CPPLanguageRuntime.h"
Enrico Granata1d261d12012-02-03 01:41:25 +000012
Greg Clayton6ecb2322013-05-18 00:11:21 +000013#include <string.h>
14
Jim Inghamfa39bb42014-10-25 00:33:55 +000015#include "llvm/ADT/StringRef.h"
16
Jim Ingham22777012010-09-23 02:01:19 +000017#include "lldb/Core/PluginManager.h"
Enrico Granata1d261d12012-02-03 01:41:25 +000018#include "lldb/Core/UniqueCStringMap.h"
Jim Ingham5a369122010-09-28 01:25:32 +000019#include "lldb/Target/ExecutionContext.h"
Jim Ingham22777012010-09-23 02:01:19 +000020
21using namespace lldb;
22using namespace lldb_private;
23
24//----------------------------------------------------------------------
25// Destructor
26//----------------------------------------------------------------------
Kate Stoneb9c1b512016-09-06 20:57:50 +000027CPPLanguageRuntime::~CPPLanguageRuntime() {}
28
29CPPLanguageRuntime::CPPLanguageRuntime(Process *process)
30 : LanguageRuntime(process) {}
31
32bool CPPLanguageRuntime::GetObjectDescription(Stream &str,
33 ValueObject &object) {
34 // C++ has no generic way to do this.
35 return false;
Jim Ingham22777012010-09-23 02:01:19 +000036}
37
Kate Stoneb9c1b512016-09-06 20:57:50 +000038bool CPPLanguageRuntime::GetObjectDescription(
39 Stream &str, Value &value, ExecutionContextScope *exe_scope) {
40 // C++ has no generic way to do this.
41 return false;
Jim Ingham6c68fb42010-09-30 00:54:27 +000042}