1 //===-- LibCxxVariant.h -------------------------------------------*- C++
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_LibCxxVariant_h_
11 #define liblldb_LibCxxVariant_h_
13 #include "lldb/Core/ValueObject.h"
14 #include "lldb/DataFormatters/TypeSummary.h"
15 #include "lldb/DataFormatters/TypeSynthetic.h"
16 #include "lldb/Utility/Stream.h"
18 namespace lldb_private {
19 namespace formatters {
20 bool LibcxxVariantSummaryProvider(
21 ValueObject &valobj, Stream &stream,
22 const TypeSummaryOptions &options); // libc++ std::variant<>
24 SyntheticChildrenFrontEnd *LibcxxVariantFrontEndCreator(CXXSyntheticChildren *,
27 } // namespace formatters
28 } // namespace lldb_private
30 #endif // liblldb_LibCxxVariant_h_