This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Refactor __enable_if return types to defaulted template parameters
ClosedPublic

Authored by philnik on Aug 12 2023, 9:34 AM.

Details

Summary

This brings most of the enable_ifs in libc++ to the same style. It also has the nice side-effect of reducing the size of names of these symbols, since the depedent return type is shorter.

Diff Detail

Event Timeline

philnik created this revision.Aug 12 2023, 9:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2023, 9:34 AM
philnik requested review of this revision.Aug 12 2023, 9:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2023, 9:34 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Sep 1 2023, 8:49 AM
ldionne added a subscriber: ldionne.

LGTM with green CI.

libcxx/include/cmath
647

Well spotted.

This revision is now accepted and ready to land.Sep 1 2023, 8:49 AM
philnik updated this revision to Diff 555419.Sep 1 2023, 9:45 AM

Try to fix CI

This revision was landed with ongoing or failed builds.Sep 1 2023, 5:52 PM
This revision was automatically updated to reflect the committed changes.