summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-format/ClangFormat.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-05-10 10:08:40 +0000
committerHans Wennborg <hans@hanshq.net>2013-05-10 10:08:40 +0000
commit0d81e019169b544459992638047110cc630c36e4 (patch)
treefc08954959bf45061e1451e7219dd6584a0a7531 /clang/tools/clang-format/ClangFormat.cpp
parenta6645e8b8f9c4805c3808e55fa17575c0360baaf (diff)
downloadbcm5719-llvm-0d81e019169b544459992638047110cc630c36e4.tar.gz
bcm5719-llvm-0d81e019169b544459992638047110cc630c36e4.zip
Add support for __wchar_t in -fms-extensions mode.
MSVC provides __wchar_t. This is the same as the built-in wchar_t type from C++, but it is also available with -fno-wchar and in C. The commit changes ASTContext to have two different types for this: - WCharTy is the built-in type used for wchar_t in C++ and __wchar_t. - WideCharTy is the type of a wide character literal. In C++ this is the same as WCharTy, and in C it is an integer type compatible with the type in <stddef.h>. This fixes PR15815. llvm-svn: 181587
Diffstat (limited to 'clang/tools/clang-format/ClangFormat.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud