ARM: centralise SizeType, PtrDiffType, and IntPtrType
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 27 Oct 2017 23:04:27 +0000 (23:04 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 27 Oct 2017 23:04:27 +0000 (23:04 +0000)
commit418a816cdc3eff00d11108dc27f8bd8b64933423
tree0c950114e3334639da631dab495aa9ac9a63d298
parentbda337a8d84bb0738cec4ec613e40d8381895401
ARM: centralise SizeType, PtrDiffType, and IntPtrType

Centralise the definitions of these compiler vended types to aid
inspection to ensure that they are defined similarly.  The one case that
stands out is the Darwin case where the types do not match up.  This
fixes the API conformance for APCS-GNU as well.

llvm-svn: 316810
clang/lib/Basic/Targets/ARM.cpp
clang/test/Preprocessor/init.c