This is an archive of the discontinued LLVM Phabricator instance.

[libc++][test] Fix missing include in `endian.pass.cpp`
ClosedPublic

Authored by jloser on Jan 8 2023, 2:14 PM.

Details

Summary

endian.pass.cpp uses std::is_enum and friends but doesn't include
<type_traits>. Add the missing include.

Diff Detail

Event Timeline

jloser created this revision.Jan 8 2023, 2:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 2:14 PM
jloser requested review of this revision.Jan 8 2023, 2:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 2:14 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision.Jan 8 2023, 2:45 PM

Thanks for fixing this!

This revision is now accepted and ready to land.Jan 8 2023, 2:45 PM
This revision was landed with ongoing or failed builds.Jan 9 2023, 3:10 AM
This revision was automatically updated to reflect the committed changes.

I've landed this for you, since this fixes the trunk CI.

jloser added a comment.Jan 9 2023, 6:17 AM

I've landed this for you, since this fixes the trunk CI.

Thanks, I appreciate it. Was just about to get to it this morning now. :)