[all-commits] [llvm/llvm-project] 49dbde: [AIX] Define WCHAR_T_TYPE as unsigned short on AIX...
Amy Kwan via All-commits
all-commits at lists.llvm.org
Wed Oct 6 07:27:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49dbde9c9e5149bcc8b906f7dbd040be76a2a267
https://github.com/llvm/llvm-project/commit/49dbde9c9e5149bcc8b906f7dbd040be76a2a267
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2021-10-06 (Wed, 06 Oct 2021)
Changed paths:
M clang/test/Sema/wchar.c
Log Message:
-----------
[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
More information about the All-commits
mailing list