This is an archive of the discontinued LLVM Phabricator instance.

[clang] Fix broken include_next in float.h
ClosedPublic

Authored by ldionne on Aug 3 2018, 3:41 PM.

Details

Summary

The code defines FLOAT_H and then includes the next <float.h>, which is
guarded on
FLOAT_H so it gets skipped entirely. This commit uses the header
guard __CLANG_FLOAT_H, like other headers (such as limits.h) do.

Diff Detail

Repository
rL LLVM

Event Timeline

ldionne created this revision.Aug 3 2018, 3:41 PM
jfb accepted this revision.Aug 3 2018, 3:58 PM
This revision is now accepted and ready to land.Aug 3 2018, 3:58 PM
This revision was automatically updated to reflect the committed changes.