]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Plugins / Language / CPlusPlus / LibCxxVariant.h
1 //===-- LibCxxVariant.h -------------------------------------------*- C++
2 //-*-===//
3 //
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
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_LibCxxVariant_h_
11 #define liblldb_LibCxxVariant_h_
12
13 #include "lldb/Core/ValueObject.h"
14 #include "lldb/DataFormatters/TypeSummary.h"
15 #include "lldb/DataFormatters/TypeSynthetic.h"
16 #include "lldb/Utility/Stream.h"
17
18 namespace lldb_private {
19 namespace formatters {
20 bool LibcxxVariantSummaryProvider(
21     ValueObject &valobj, Stream &stream,
22     const TypeSummaryOptions &options); // libc++ std::variant<>
23
24 SyntheticChildrenFrontEnd *LibcxxVariantFrontEndCreator(CXXSyntheticChildren *,
25                                                         lldb::ValueObjectSP);
26
27 } // namespace formatters
28 } // namespace lldb_private
29
30 #endif // liblldb_LibCxxVariant_h_