Shafik Yaghmour | 8306f76 | 2018-09-19 18:07:05 +0000 | [diff] [blame] | 1 | //===-- LibCxxVariant.h -------------------------------------------*- C++ |
| 2 | //-*-===// |
| 3 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
Shafik Yaghmour | 8306f76 | 2018-09-19 18:07:05 +0000 | [diff] [blame] | 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_ |