This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add missing #include in C11 features tests
ClosedPublic

Authored by ldionne on Aug 13 2018, 3:54 PM.

Details

Summary

These #includes are quite important, since otherwise any

#if TEST_STD_VER > 14 && defined(TEST_HAS_C11_FEATURES)

checks are always false, and so we don't actually test for C11 support
in the standard library.

Diff Detail

Repository
rL LLVM

Event Timeline

ldionne created this revision.Aug 13 2018, 3:54 PM
hiraditya accepted this revision.Aug 14 2018, 5:39 AM
hiraditya added a subscriber: hiraditya.

Good catch!

This revision is now accepted and ready to land.Aug 14 2018, 5:39 AM
This revision was automatically updated to reflect the committed changes.