WCharType and WIntType are always signed int on OpenBSD.

This commit is contained in:
Brad Smith 2020-08-18 19:56:19 -04:00
parent e7081d117a
commit d9ff48d038
1 changed files with 1 additions and 0 deletions

View File

@ -465,6 +465,7 @@ protected:
public:
OpenBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
: OSTargetInfo<Target>(Triple, Opts) {
this->WCharType = this->WIntType = this->SignedInt;
this->IntMaxType = TargetInfo::SignedLongLong;
this->Int64Type = TargetInfo::SignedLongLong;
switch (Triple.getArch()) {