File tree Expand file tree Collapse file tree 3 files changed +430
-6
lines changed Expand file tree Collapse file tree 3 files changed +430
-6
lines changed Original file line number Diff line number Diff line change @@ -647,6 +647,7 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_32TargetInfo : public X86_32TargetInfo {
647647 CygwinX86_32TargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
648648 : X86_32TargetInfo(Triple, Opts) {
649649 this ->WCharType = TargetInfo::UnsignedShort;
650+ this ->WIntType = TargetInfo::UnsignedInt;
650651 DoubleAlign = LongLongAlign = 64 ;
651652 resetDataLayout (" e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-"
652653 " i128:128-f80:32-n8:16:32-a:0:32-S32" ,
@@ -982,6 +983,7 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_64TargetInfo : public X86_64TargetInfo {
982983 CygwinX86_64TargetInfo (const llvm::Triple &Triple, const TargetOptions &Opts)
983984 : X86_64TargetInfo(Triple, Opts) {
984985 this ->WCharType = TargetInfo::UnsignedShort;
986+ this ->WIntType = TargetInfo::UnsignedInt;
985987 }
986988
987989 void getTargetDefines (const LangOptions &Opts,
You can’t perform that action at this time.
0 commit comments