[cfe-commits] r74083 - /cfe/trunk/lib/Basic/Targets.cpp
Chris Lattner
sabre at nondot.org
Wed Jun 24 10:12:15 PDT 2009
Author: lattner
Date: Wed Jun 24 12:12:15 2009
New Revision: 74083
URL: http://llvm.org/viewvc/llvm-project?rev=74083&view=rev
Log:
fix the type of wchar_t for windows, PR4417
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=74083&r1=74082&r2=74083&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jun 24 12:12:15 2009
@@ -930,7 +930,7 @@
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-"
More information about the cfe-commits
mailing list