This is an archive of the discontinued LLVM Phabricator instance.

Basic: make `int_least64_t` and `int_fast64_t` match on Darwin
ClosedPublic

Authored by compnerd on Dec 11 2018, 3:23 PM.

Details

Summary

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.

Diff Detail

Repository
rC Clang

Event Timeline

compnerd created this revision.Dec 11 2018, 3:23 PM
t.p.northover accepted this revision.Dec 12 2018, 2:58 AM
t.p.northover added a subscriber: t.p.northover.

LGTM; well spotted!

This revision is now accepted and ready to land.Dec 12 2018, 2:58 AM
compnerd closed this revision.Dec 12 2018, 9:08 AM

SVN r348939