diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-02-25 08:48:58 -0600 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-02-25 09:04:58 -0600 |
commit | 9f5f08476e8979046ad3a13865d984c428eae442 (patch) | |
tree | 5699c16dea8e20d965cb4f232cce4893273ddf88 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f23e5c03222ad7f6dc65c59a0f133f91decb96f3 (diff) | |
download | llvm-9f5f08476e8979046ad3a13865d984c428eae442.zip llvm-9f5f08476e8979046ad3a13865d984c428eae442.tar.gz llvm-9f5f08476e8979046ad3a13865d984c428eae442.tar.bz2 |
[libcxx] Fix the type in __estimate_column_width
It seems that we are using wchar_t in __estimate_column_width and assume that
it is a 32 bit type. However, on AIX 32 the size of wchar_t is only 16 bits.
Changed wchar_t to uint32_t since the variable is being passed to a function
that uses uint32_t anyway.
Reviewed By: hubert.reinterpretcast, daltenty, Mordante, #libc, Quuxplusone
Differential Revision: https://reviews.llvm.org/D119770
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions