This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Skip logic for detecting C11 features when using_if_exists is supported
ClosedPublic

Authored by ldionne on Aug 18 2021, 6:04 AM.

Details

Summary

In the future, we'll want to rely exclusively on using_if_exists for this
job, but for now, only rely on it when the compiler supports that attribute.
That removes the possibility for getting the logic wrong.

Diff Detail

Event Timeline

ldionne requested review of this revision.Aug 18 2021, 6:04 AM
ldionne created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2021, 6:04 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Aug 18 2021, 8:53 AM
This revision is now accepted and ready to land.Aug 18 2021, 8:53 AM