[lldb] Process formatters in reverse-chronological order
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 20 Sep 2019 20:19:18 +0000 (20:19 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 20 Sep 2019 20:19:18 +0000 (20:19 +0000)
commitce7cfbccc63ba318bed00aef65dab49adc6f43c8
tree8c03bbed70ea4ce4bd63bfee4b53abbb3ce2d44e
parent949a126438b9d4949208fec549e2772e3270d7d5
[lldb] Process formatters in reverse-chronological order

If one reverts D66398 then the TestDataFormatterStdList does fail - as the C++
formatters are initialized in the opposite order. But the current state of
trunk does not mind the order for C++ formatters.

It is using now a single std::vector as suggested by Pavel Labath.

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

llvm-svn: 372424
lldb/include/lldb/DataFormatters/FormattersContainer.h
lldb/include/lldb/Utility/RegularExpression.h
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py