blob: 04834581963f47d44582d0594966e2de127f8168 [file] [log] [blame]
Shafik Yaghmour8306f762018-09-19 18:07:05 +00001//===-- LibCxxVariant.h -------------------------------------------*- C++
2//-*-===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef liblldb_LibCxxVariant_h_
12#define liblldb_LibCxxVariant_h_
13
14#include "lldb/Core/ValueObject.h"
15#include "lldb/DataFormatters/TypeSummary.h"
16#include "lldb/DataFormatters/TypeSynthetic.h"
17#include "lldb/Utility/Stream.h"
18
19namespace lldb_private {
20namespace formatters {
21bool LibcxxVariantSummaryProvider(
22 ValueObject &valobj, Stream &stream,
23 const TypeSummaryOptions &options); // libc++ std::variant<>
24
25SyntheticChildrenFrontEnd *LibcxxVariantFrontEndCreator(CXXSyntheticChildren *,
26 lldb::ValueObjectSP);
27
28} // namespace formatters
29} // namespace lldb_private
30
31#endif // liblldb_LibCxxVariant_h_