diff options
author | Hans Wennborg <hans@hanshq.net> | 2013-05-03 09:10:16 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2013-05-03 09:10:16 +0000 |
commit | cadd77c05bfddc3425ed057519ddac4db37e8b94 (patch) | |
tree | 3cc9efdfd9374089a003898509f02b0d5c24e56c /clang/test/Preprocessor/predefined-arch-macros.c | |
parent | b531a11701dbe9cc138ad077a625fd035cc4ce92 (diff) | |
download | bcm5719-llvm-cadd77c05bfddc3425ed057519ddac4db37e8b94.tar.gz bcm5719-llvm-cadd77c05bfddc3425ed057519ddac4db37e8b94.zip |
Support __wchar_t in -fms-extensions and -fms-compatibility modes.
MSVC provides __wchar_t, either as an alias for the built-in wchar_t
type, or as a separate type depending on language (C vs C++) and flags
(-fno-wchar).
In -fms-extensions, Clang will simply accept __wchar_t as an alias for
whatever type is used for wide character literals. In -fms-compatibility, we
try to mimic MSVC's behavior by always making __wchar_t a builtin type.
This fixes PR15815.
llvm-svn: 181004
Diffstat (limited to 'clang/test/Preprocessor/predefined-arch-macros.c')
0 files changed, 0 insertions, 0 deletions