brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 539eddd Raw
34 lines · c
1//===-- LibCxx.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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H10#define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H11 12#include "lldb/DataFormatters/TypeSummary.h"13#include "lldb/Utility/Stream.h"14#include "lldb/ValueObject/ValueObject.h"15 16namespace lldb_private {17namespace formatters {18 19bool GenericOptionalSummaryProvider(ValueObject &valobj, Stream &stream,20                                    const TypeSummaryOptions &options);21 22/// Return the ValueObjectSP of the underlying pointer member whose type23/// is a desugared 'std::shared_ptr::element_type *'.24lldb::ValueObjectSP GetDesugaredSmartPointerValue(ValueObject &ptr,25                                                  ValueObject &container);26 27SyntheticChildrenFrontEnd *28GenericInitializerListSyntheticFrontEndCreator(CXXSyntheticChildren *,29                                               lldb::ValueObjectSP valobj_sp);30} // namespace formatters31} // namespace lldb_private32 33#endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_GENERIC_H34