diff options
author | Andrey Bokhanko <andreybokhanko@gmail.com> | 2016-02-15 10:39:04 +0000 |
---|---|---|
committer | Andrey Bokhanko <andreybokhanko@gmail.com> | 2016-02-15 10:39:04 +0000 |
commit | 5f6588ec2d3f6ef4960afe83280e83f277e13adb (patch) | |
tree | df25e04ac7e2f5a9218581612690b9fdfb9f2af1 /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 2c2a2f511960b2d0976e471f7990448631120b74 (diff) | |
download | bcm5719-llvm-5f6588ec2d3f6ef4960afe83280e83f277e13adb.tar.gz bcm5719-llvm-5f6588ec2d3f6ef4960afe83280e83f277e13adb.zip |
PR26449: Fixes for bugs in __builtin_classify_type implementation
This patch fixes the following bugs in __builtin_classify_type implementation:
1) Support for member functions and fields
2) Same behavior as GCC in C mode (specifically, return integer_type_class for
enums and pointer_type_class for function pointers and arrays). Behavior in
C++ mode didn't changed.
Also, it refactors the whole implementation, by replacing a sequence of
if-else-if with a couple of switches.
Differential Revision: http://reviews.llvm.org/D16846
llvm-svn: 260881
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions