summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-03-15 15:34:10 +0000
committerPavel Labath <pavel@labath.sk>2019-03-15 15:34:10 +0000
commit230837c662b9f7d7e517d5d80e4276641bb4f94d (patch)
treea8f59f60904e036264e73a628e6aa690dcf80119 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent70ec64cb7235efbeb1a7c6c4f9b5810d866850ec (diff)
downloadbcm5719-llvm-230837c662b9f7d7e517d5d80e4276641bb4f94d.tar.gz
bcm5719-llvm-230837c662b9f7d7e517d5d80e4276641bb4f94d.zip
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 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud