]> granicus.if.org Git - clang/commit
Basic: make `int_least64_t` and `int_fast64_t` match on Darwin
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 12 Dec 2018 17:05:20 +0000 (17:05 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 12 Dec 2018 17:05:20 +0000 (17:05 +0000)
commitd569b56d4d26d45cee1d65b868318cba15358fc6
tree0263ba73ba90489270d36e6606043541c37999da
parent445ce0989574b56e25efdea18185706118f4cebf
Basic: make `int_least64_t` and `int_fast64_t` match on Darwin

The Darwin targets use `int64_t` and `uint64_t` to define the `int_least64_t`
and `int_fast64_t` types.  The underlying type is actually a `long long`.  Match
the types to allow the printf specifiers to work properly and have the compiler
vended macros match the implementation on the target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets/OSTargets.h
test/Preprocessor/init.c