diff options
author | Pavel Labath <pavel@labath.sk> | 2019-03-15 15:34:10 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-03-15 15:34:10 +0000 |
commit | 230837c662b9f7d7e517d5d80e4276641bb4f94d (patch) | |
tree | a8f59f60904e036264e73a628e6aa690dcf80119 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 70ec64cb7235efbeb1a7c6c4f9b5810d866850ec (diff) | |
download | llvm-230837c662b9f7d7e517d5d80e4276641bb4f94d.zip llvm-230837c662b9f7d7e517d5d80e4276641bb4f94d.tar.gz llvm-230837c662b9f7d7e517d5d80e4276641bb4f94d.tar.bz2 |
YAMLIO: Improve endian type support
Summary:
Now that endian types support enumerations (D59141), the existing yaml
support for them is somewhat insufficient. The current solution was to
define the ScalarTraits class for these types, which always forwards to
the ScalarTraits of the underlying type. However, the enum types will
usually have ScalarEnumerationTraits of ScalarBitsetTraits.
In this patch I add the two extra Traits types to the endian types. In
order to properly SFINAE-ize them, I've also added an extra "Enable"
template argument to the Traits template classes.
Reviewers: zturner, sammccall
Subscribers: kristina, Bigcheese, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59289
llvm-svn: 356269
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions