This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][builtins] Don't #include CoreFoundation in os_version_check.c
ClosedPublic

Authored by erik.pilkington on Aug 3 2018, 2:04 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

erik.pilkington created this revision.Aug 3 2018, 2:04 PM
dexonsmith accepted this revision.Oct 29 2018, 2:16 PM

This LGTM with a couple of nitpicks.

compiler-rt/lib/builtins/os_version_check.c
183 ↗(On Diff #159084)

It wasn't obvious that kCFAllocatorNull had been dlsym'ed in. Is there a way of naming this that would make it more clear you weren't getting this from an #include? Or does it not matter?

211–214 ↗(On Diff #159084)

If you're going to do this, please do it in a separate NFC commit since it appears to be whitespace only.

This revision is now accepted and ready to land.Oct 29 2018, 2:16 PM
This revision was automatically updated to reflect the committed changes.