[DataFormatters] Add formatter for C++17 std::optional.
authorDavide Italiano <davide@freebsd.org>
Wed, 25 Jul 2018 20:46:29 +0000 (20:46 +0000)
committerDavide Italiano <davide@freebsd.org>
Wed, 25 Jul 2018 20:46:29 +0000 (20:46 +0000)
commit1d4a78ef042280319f95172a2d1e95558b0ce2ab
tree1eb80ea976568e76f295032717b1dc3b9c592c48
parent8521ff6ec4138e9c88cb29d719a9115dabb670a9
[DataFormatters] Add formatter for C++17 std::optional.

<rdar://problem/41471112>

Patch by Shafik Yaghmour.

Differential Revision:  https://reviews.llvm.org/D49271

llvm-svn: 337959
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/TestDataFormatterLibcxxOptional.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/optional/main.cpp [new file with mode: 0644]
lldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp [new file with mode: 0644]