diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-24 17:12:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-24 17:12:15 +0000 |
commit | 85de9e75ecce165374faf20d7b4e843a1f63e720 (patch) | |
tree | 0e9d91e5255869f2ba9983849fb8ad9446860545 /lib/Basic/Targets.cpp | |
parent | 3688fc679389d67b6755e62406998f9ea84d886a (diff) |
fix the type of wchar_t for windows, PR4417
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 1d69e4e96e..9910e28fcd 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -930,7 +930,7 @@ public: WindowsX86_32TargetInfo(const std::string& triple) : X86_32TargetInfo(triple) { TLSSupported = false; - WCharType = SignedShort; + WCharType = UnsignedShort; WCharWidth = WCharAlign = 16; DoubleAlign = LongLongAlign = 64; DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-" |