1 //===-- LibCxxVariant.h ----------------------------------------*- C++ -*--===//
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-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBCXXVARIANT_H
10 #define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBCXXVARIANT_H
12 #include "lldb/DataFormatters/TypeSummary.h"
13 #include "lldb/DataFormatters/TypeSynthetic.h"
14 #include "lldb/Utility/Stream.h"
15 #include "lldb/ValueObject/ValueObject.h"
17 namespace lldb_private
{
18 namespace formatters
{
19 bool LibcxxVariantSummaryProvider(
20 ValueObject
&valobj
, Stream
&stream
,
21 const TypeSummaryOptions
&options
); // libc++ std::variant<>
23 SyntheticChildrenFrontEnd
*LibcxxVariantFrontEndCreator(CXXSyntheticChildren
*,
26 } // namespace formatters
27 } // namespace lldb_private
29 #endif // LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_LIBCXXVARIANT_H