summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorRobert Lytton <robert@xmos.com>2013-11-12 10:09:30 +0000
committerRobert Lytton <robert@xmos.com>2013-11-12 10:09:30 +0000
commitcc4246614f7829183c335c44012fd6952265fe52 (patch)
treeeec7df7bdb31c7bb9ba68cda28f5cfb625a74964 /clang/lib/Basic
parent6b1deb4cf93d71c9b8984d9f048e521ef2b3c0c7 (diff)
downloadbcm5719-llvm-cc4246614f7829183c335c44012fd6952265fe52.tar.gz
bcm5719-llvm-cc4246614f7829183c335c44012fd6952265fe52.zip
XCore target Type defines.
Change SizeType, PtrDiffType, IntPtrType, WCharType, WIntType to follow the XMOS llvm-gcc front end's settings. llvm-svn: 194461
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/Targets.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index 618ea4828ca..8d5f49f6e31 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -5445,6 +5445,11 @@ public:
LongLongAlign = 32;
SuitableAlign = 32;
DoubleAlign = LongDoubleAlign = 32;
+ SizeType = UnsignedInt;
+ PtrDiffType = SignedInt;
+ IntPtrType = SignedInt;
+ WCharType = UnsignedChar;
+ WIntType = UnsignedInt;
UseZeroLengthBitfieldAlignment = true;
DescriptionString = "e-p:32:32:32-a0:0:32-n32"
"-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32"
OpenPOWER on IntegriCloud