This is an archive of the discontinued LLVM Phabricator instance.

[libc++][πŸ’] Un-deprecate std::allocator<void>
ClosedPublic

Authored by ldionne on Jun 15 2021, 2:56 PM.

Details

Reviewers
tstellar
ldionne
Group Reviewers
Restricted Project
Summary

This is a cherry-pick of https://reviews.llvm.org/D104323 for backporting
to LLVM 12.

Diff Detail

Event Timeline

ldionne requested review of this revision.Jun 15 2021, 2:56 PM
ldionne created this revision.
Herald added a project: Restricted Project. Β· View Herald TranscriptJun 15 2021, 2:56 PM
Herald added a reviewer: Restricted Project. Β· View Herald Transcript
Herald added a subscriber: libcxx-commits. Β· View Herald Transcript

This is a manual cherry-pick because the codebase has diverged quite a bit.

@tstellar Once this is passing CI, I'd like to have your permission to merge this to release/12.x because this is a pretty vexing issue.

tstellar added a comment.EditedJun 15 2021, 3:35 PM

This is a manual cherry-pick because the codebase has diverged quite a bit.

@tstellar Once this is passing CI, I'd like to have your permission to merge this to release/12.x because this is a pretty vexing issue.

@ldionne Go ahead and merge when it's ready, and make sure to use git cherry-pick -x.

ldionne updated this revision to Diff 352309.Jun 15 2021, 6:01 PM

Fix CI issues.

This is a manual cherry-pick because the codebase has diverged quite a bit.

@tstellar Once this is passing CI, I'd like to have your permission to merge this to release/12.x because this is a pretty vexing issue.

@ldionne Go ahead and merge when it's ready, and make sure to use git cherry-pick -x.

Thanks. I will make sure to include the commit that it's "cherry-picked" from in the commit message, but I can't use git cherry-pick -x as-is because there's too much divergence. I had to apply this cherry-pick manually. But it'll be cross-referenced as-if.

ldionne accepted this revision.Jun 16 2021, 10:14 AM

The remaining CI issues already exist before this patch. I'll try fixing them subsequently, but this is good to go.

This revision is now accepted and ready to land.Jun 16 2021, 10:14 AM
ldionne closed this revision.Jun 16 2021, 10:18 AM
commit e7dac564cd0ed9dee74ef972c46622743d90915d (HEAD -> release/12.x, origin/release/12.x)
Author: Louis Dionne <ldionne.2@gmail.com>
Date:   Tue Jun 15 17:55:27 2021 -0400

    [πŸ’][libc++] Un-deprecate std::allocator<void>

    This is a cherry-pick of 87784cc6fb3453a17e0e78 on 'main' for
    backporting to LLVM 12.

    Differential Revision: https://reviews.llvm.org/D104324
libcxx/test/std/utilities/memory/default.allocator/allocator_types.void.compile.pass.cpp