[PATCH] D39321: ARM: centralise SizeType, PtrDiffType, and IntPtrType

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 22:07:55 PDT 2017


compnerd added inline comments.


================
Comment at: lib/Basic/Targets/ARM.cpp:231
+  else if (Triple.isWatchABI())
+    PtrDiffType = SignedLong;
+
----------------
I changed this to:

    if (Triple.isOSDarwin() && !Triple.isWatchABI())
      PtrDiffType = SignedInt;


Repository:
  rL LLVM

https://reviews.llvm.org/D39321





More information about the cfe-commits mailing list