Update pretty printer for std::variant
authorJonathan Wakely <jwakely@redhat.com>
Thu, 22 Sep 2016 10:06:41 +0000 (11:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 22 Sep 2016 10:06:41 +0000 (11:06 +0100)
commit6fdc74c91b2d1dc12544a351721d647be1a84085
tree0661d922cfaf405d48e8eb51b75f04efaf6e44b1
parent64626fcaaaa2584a244db423d48e5bebfc6ade33
Update pretty printer for std::variant

* python/libstdcxx/v6/printers.py (StdVariantPrinter): Adjust for
recent change to _Variant_storage.
* testsuite/libstdc++-prettyprinters/cxx17.cc: Test variant with
reference type.

From-SVN: r240345
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc