This is an archive of the discontinued LLVM Phabricator instance.

Make isa, cast, dyn_cast, etc. work with std::unique_ptr and std::shared_ptr.
AbandonedPublic

Authored by jlebar on Jan 5 2016, 6:21 PM.

Details

Reviewers
dblaikie
echristo
Summary

This lets us use these functions without calling 'get()' everywhere.

Diff Detail

Event Timeline

jlebar updated this revision to Diff 44075.Jan 5 2016, 6:21 PM
jlebar retitled this revision from to Make isa, cast, dyn_cast, etc. work with std::unique_ptr and std::shared_ptr..
jlebar updated this object.
jlebar added a reviewer: echristo.
jlebar added a subscriber: llvm-commits.
tra added a subscriber: tra.
tra added a comment.Jan 7 2016, 11:40 AM

@dblakie Dave, can you take a look?

echristo edited edge metadata.Jan 7 2016, 2:46 PM

That was totally who I was going to add :)

jlebar abandoned this revision.Jan 22 2016, 5:28 PM