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 | 46be2e155784a5fb252ceffc89c1dbdf59306cba (patch) | |
tree | 5005e65826831c61a44f0a595fec15a3ffff4747 | |
parent | 92c11e90c8d2b8a524750262f9bd6fe492673347 (diff) | |
download | bcm5719-llvm-46be2e155784a5fb252ceffc89c1dbdf59306cba.tar.gz bcm5719-llvm-46be2e155784a5fb252ceffc89c1dbdf59306cba.zip |
fix the type of wchar_t for windows, PR4417
llvm-svn: 74083
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 1d69e4e96ef..9910e28fcda 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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-" |