1 //===-- TypeFormat.cpp ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "lldb/lldb-python.h"
16 // Other libraries and framework includes
19 #include "lldb/lldb-public.h"
20 #include "lldb/lldb-enumerations.h"
22 #include "lldb/Core/Debugger.h"
23 #include "lldb/Core/StreamString.h"
24 #include "lldb/Core/Timer.h"
25 #include "lldb/DataFormatters/TypeFormat.h"
26 #include "lldb/Interpreter/CommandInterpreter.h"
27 #include "lldb/Symbol/ClangASTType.h"
28 #include "lldb/Target/StackFrame.h"
29 #include "lldb/Target/Target.h"
32 using namespace lldb_private;
34 TypeFormatImpl::TypeFormatImpl (lldb::Format f,
42 TypeFormatImpl::GetDescription()
45 sstr.Printf ("%s%s%s%s\n",
46 FormatManager::GetFormatAsCString (GetFormat()),
47 Cascades() ? "" : " (not cascading)",
48 SkipsPointers() ? " (skip pointers)" : "",
49 SkipsReferences() ? " (skip references)" : "");
50 return sstr.GetString();