Commit Graph

4 Commits

Author SHA1 Message Date
Mark Lacey
cbca1f23f6 Rework an initialization to remove a use of an IUO that was banned by SE-0054. 2017-10-26 18:13:03 -07:00
Max Moiseev
e2788fd6eb Fix access level for extern_proc.p_starttime
Fixes: <rdar://problem/31549450>
2017-06-16 11:39:35 -07:00
Ted Kremenek
c18b4be544 Add shim for extern_proc's p_starttime.
This constant is not imported by the ClangImporter:

  #define p_starttime p_un.__p_starttime

Add a shim to do the same thing.

Fixes rdar://problem/31549450
2017-04-13 09:47:14 -07:00
Stephen Canon
6ff95dad03 Mark several C macros imported from <float.h> as deprecated. (#6796)
* Mark several C macros imported from <float.h> as deprecated.

These macros all have straightforward replacements in terms of static properties on FloatingPoint or BinaryFloatingPoint. It is necessary to add 1 in a few places because of differences between how C and Swift count significand bits and normalize the significand, but this is expected to have minimal impact on code in practice (and when it does have impact, using the Swift definition is generally simpler).

* Address review notes from @moiseev.

This fixes <rdar://problem/27871465>
2017-01-13 21:33:43 -05:00