This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Add 'const' to some operator()
ClosedPublic

Authored by ldionne on Jul 6 2023, 7:47 AM.

Details

Reviewers
philnik
Group Reviewers
Restricted Project
Commits
rG9101479420aa: [libc++][NFC] Add 'const' to some operator()
Summary

This is NFC because the function object is stateless anyway. This is
done solely for consistency with surrounding code and this was probably
an oversight in https://reviews.llvm.org/D132505.

Diff Detail

Event Timeline

ldionne created this revision.Jul 6 2023, 7:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 7:47 AM
ldionne requested review of this revision.Jul 6 2023, 7:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2023, 7:47 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision.Jul 6 2023, 10:02 AM
This revision is now accepted and ready to land.Jul 6 2023, 10:02 AM
This revision was automatically updated to reflect the committed changes.