diff options
author | Amy Kwan <amy.kwan1@ibm.com> | 2021-10-05 17:21:27 -0500 |
---|---|---|
committer | Amy Kwan <amy.kwan1@ibm.com> | 2021-10-06 08:49:37 -0500 |
commit | 49dbde9c9e5149bcc8b906f7dbd040be76a2a267 (patch) | |
tree | 4b015803d6da56fa50bdebaffe6368a35cf48465 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | b384736b205ecc96a906683076aa9f4b337e03b0 (diff) | |
download | llvm-49dbde9c9e5149bcc8b906f7dbd040be76a2a267.zip llvm-49dbde9c9e5149bcc8b906f7dbd040be76a2a267.tar.gz llvm-49dbde9c9e5149bcc8b906f7dbd040be76a2a267.tar.bz2 |
[AIX] Define WCHAR_T_TYPE as unsigned short on AIX for wchar.c test case.
The default wchar type is different on AIX vs. Linux. When this test is run on
AIX, WCHAR_T_TYPE ends up being set to int. This is incorrect as the default
wchar type on AIX is actually unsigned short, and setting the type incorrectly
causes the expected errors to not be found.
This patch sets the type correctly (to unsigned short) for AIX.
Differential Revision: https://reviews.llvm.org/D110428
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions