summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorEd Schouten <ed@80386.nl>2013-09-29 07:54:52 +0000
committerEd Schouten <ed@80386.nl>2013-09-29 07:54:52 +0000
commit5ada7a5e9747e03e8c3725b1b4d00e2a9f448e9e (patch)
tree21947a600a9fa63629190b106feb6d6cf80df7e4 /lib/CodeGen/CodeGenFunction.cpp
parent4cb295d3b32cb04215f87948fbf944ee4c31de1b (diff)
downloadclang-5ada7a5e9747e03e8c3725b1b4d00e2a9f448e9e.tar.gz
clang-5ada7a5e9747e03e8c3725b1b4d00e2a9f448e9e.tar.bz2
clang-5ada7a5e9747e03e8c3725b1b4d00e2a9f448e9e.tar.xz
Add character set related __STDC_* definitions.
Clang uses UTF-16 and UTF-32 for its char16_t's and char32_t's exclusively. This means that we can define __STDC_UTF_16__ and __STDC_UTF_32__ unconditionally. While there, define __STDC_MB_MIGHT_NEQ_WC__ for FreeBSD. FreeBSD's wchar_t's don't encode characters as ISO-10646; the encoding depends on the locale used. Because the character set used might not be a superset of ASCII, we must define __STDC_MB_MIGHT_NEQ_WC__. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions