forked from OSchip/llvm-project
729379a1e1
Move the logic for determining the `wchar_t` type information into the driver. Rather than passing the single bit of information of `-fshort-wchar` indicate to the frontend the desired type of `wchar_t` through a new `-cc1` option of `-fwchar-type` and indicate the signedness through `-f{,no-}signed-wchar`. This replicates the current logic which was spread throughout Basic into the `RenderCharacterOptions`. Most of the changes to the tests are to ensure that the frontend uses the correct type. Add a new test set under `test/Driver/wchar_t.c` to ensure that we calculate the proper types for the various cases. llvm-svn: 315126 |
||
---|---|---|
.. | ||
Inputs | ||
altivec-header.c | ||
altivec-intrin.c | ||
arm-acle-header.c | ||
arm-neon-header.c | ||
arm64-apple-ios-types.cpp | ||
c11.c | ||
c89.c | ||
cpuid.c | ||
cxx11.cpp | ||
float-darwin.c | ||
float.c | ||
float16.c | ||
htm-header.c | ||
int64-type.c | ||
limits.cpp | ||
ms-cppoperkey.cpp | ||
ms-cppoperkey1.cpp | ||
ms-cppoperkey2.cpp | ||
ms-intrin.cpp | ||
ms-null-ms-header-vs-stddef.cpp | ||
ms-wchar.c | ||
opencl-c-header.cl | ||
pmmintrin.c | ||
stdarg-gnuc_va_list.c | ||
stdarg.cpp | ||
stdatomic.c | ||
stdbool.cpp | ||
stddefneeds.cpp | ||
stdint-typeof-MINMAX.cpp | ||
tgmath-darwin.c | ||
tgmath.c | ||
thumbv7-apple-ios-types.cpp | ||
typedef_guards.c | ||
unwind.c | ||
wchar_limits.cpp | ||
wmmintrin.c | ||
x86-intrinsics-headers.c | ||
x86_64-apple-macosx-types.cpp | ||
x86intrin-2.c | ||
x86intrin.c | ||
x86intrin.cpp | ||
xmmintrin.c |