aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Serialization/Module.h
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-01 15:34:29 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-02-01 15:34:29 +0000
commit57dab7135269ba12b979a91415153d00794c7727 (patch)
tree302da2bdcd9a69e32de1f2d38c8ff255b8675ed7 /include/clang/Serialization/Module.h
parentd123dc64377668ce6b2bd6437552b870c7a5f636 (diff)
Fix PR14881 by implementing conversion rules between int and complex int.
Prior to the patch, Clang does not properly promote types when a complex integer operand is combined with an integer via a binary operator, or when one is assigned to the other in either order. This patch detects when promotion is needed (and permissible) and generates the necessary code. The test assmes no target has the same size operands for "char" and "long long," and that no target performs arithmetic on char operands without extending them to a larger format first. If there are any targets for which this is not the case, they should be XFAILed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/Module.h')
0 files changed, 0 insertions, 0 deletions