diff options
author | Kai Nacke <kai@redstar.de> | 2022-08-28 00:20:05 -0400 |
---|---|---|
committer | Kai Nacke <kai@redstar.de> | 2022-11-13 11:07:53 -0500 |
commit | bd980fff393c247044031c26c15eda8e657e7dfa (patch) | |
tree | a3bb67513cc95bd0f342f51cf0a79c05d9da1089 | |
parent | 5303dd164a1216f3407ff5b516780f2de2727e8c (diff) | |
download | llvm-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.cpp | 4 |
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; } |