Author: Brad Smith Date: 2020-08-18T12:45:09+02:00 New Revision: d09901e2d8aa4ffdf35d50622dd096062d5e6eef
URL: https://github.com/llvm/llvm-project/commit/d09901e2d8aa4ffdf35d50622dd096062d5e6eef DIFF: https://github.com/llvm/llvm-project/commit/d09901e2d8aa4ffdf35d50622dd096062d5e6eef.diff LOG: int64_t and intmax_t are always (signed) long long on OpenBSD. (cherry picked from commit 92e82a2890c38bbb158cbf9dd592328b4c383696) Added: Modified: clang/lib/Basic/Targets/OSTargets.h Removed: ################################################################################ diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTargets.h index cfa362bef1b1c..a885aa96cc762 100644 --- a/clang/lib/Basic/Targets/OSTargets.h +++ b/clang/lib/Basic/Targets/OSTargets.h @@ -465,6 +465,8 @@ class LLVM_LIBRARY_VISIBILITY OpenBSDTargetInfo : public OSTargetInfo<Target> { public: OpenBSDTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) : OSTargetInfo<Target>(Triple, Opts) { + this->IntMaxType = TargetInfo::SignedLongLong; + this->Int64Type = TargetInfo::SignedLongLong; switch (Triple.getArch()) { case llvm::Triple::x86: case llvm::Triple::x86_64: _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits