Toolchain: Make wint_t unsigned for Clang

This commit is contained in:
Tim Schumacher 2022-03-10 18:09:48 +01:00 committed by Linus Groh
parent 5d0869d5ca
commit 2788d46ae0
Notes: sideshowbarker 2024-07-17 17:09:10 +09:00

View File

@ -33,7 +33,7 @@ diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTar
index 3fe39ed64..51e7a6cca 100644
--- a/clang/lib/Basic/Targets/OSTargets.h
+++ b/clang/lib/Basic/Targets/OSTargets.h
@@ -966,6 +966,22 @@ public:
@@ -966,6 +966,24 @@ public:
}
};
@ -50,7 +50,9 @@ index 3fe39ed64..51e7a6cca 100644
+
+public:
+ SerenityTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
+ : OSTargetInfo<Target>(Triple, Opts) {}
+ : OSTargetInfo<Target>(Triple, Opts) {
+ this->WIntType = TargetInfo::UnsignedInt;
+ }
+};
+
} // namespace targets