This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add a few missing min/max macro push/pop
ClosedPublic

Authored by ldionne on Jun 27 2022, 8:37 AM.

Details

Reviewers
Mordante
Group Reviewers
Restricted Project
Commits
rGa2c1603206a4: [libc++] Add a few missing min/max macro push/pop
Summary

Also, improve the test for nasty macros to define min and max, so this
will be caught in the future.

Diff Detail

Event Timeline

ldionne created this revision.Jun 27 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 8:37 AM
ldionne requested review of this revision.Jun 27 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 8:37 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jun 27 2022, 8:42 AM
Mordante added a subscriber: Mordante.

Nice catch! LGTM when the CI is happy.

libcxx/test/libcxx/nasty_macros.compile.pass.cpp
141

Interesting they weren't in the list yet.

This revision is now accepted and ready to land.Jun 27 2022, 8:42 AM
This revision was automatically updated to reflect the committed changes.
libcxx/test/libcxx/nasty_macros.compile.pass.cpp