aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Nacke <kai@redstar.de>2022-08-28 00:20:05 -0400
committerKai Nacke <kai@redstar.de>2022-11-13 11:07:53 -0500
commitbd980fff393c247044031c26c15eda8e657e7dfa (patch)
treea3bb67513cc95bd0f342f51cf0a79c05d9da1089
parent5303dd164a1216f3407ff5b516780f2de2727e8c (diff)
downloadllvm-bd980fff393c247044031c26c15eda8e657e7dfa.zip
llvm-bd980fff393c247044031c26c15eda8e657e7dfa.tar.gz
llvm-bd980fff393c247044031c26c15eda8e657e7dfa.tar.bz2
[m88k] Fix some type definitions in clang
Most important, size_t is of type unsigned long.
-rw-r--r--clang/lib/Basic/Targets/M88k.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets/M88k.cpp b/clang/lib/Basic/Targets/M88k.cpp
index a3496f9..413f8cc 100644
--- a/clang/lib/Basic/Targets/M88k.cpp
+++ b/clang/lib/Basic/Targets/M88k.cpp
@@ -54,7 +54,9 @@ M88kTargetInfo::M88kTargetInfo(const llvm::Triple &Triple,
resetDataLayout(Layout);
- SizeType = UnsignedInt;
+ IntMaxType = SignedLongLong;
+ Int64Type = SignedLongLong;
+ SizeType = UnsignedLong;
PtrDiffType = SignedInt;
IntPtrType = SignedInt;
}