This is an archive of the discontinued LLVM Phabricator instance.

Add a value_type to ArrayRef.
ClosedPublic

Authored by courbet on Jan 2 2018, 6:53 AM.

Details

Summary

Not sure this needs a review or not. Erring on the safe side.

Diff Detail

Repository
rL LLVM

Event Timeline

courbet created this revision.Jan 2 2018, 6:53 AM

Please ensure you subscribe all patches to the relevant mailing list - clang should auto subscribe to cfe-commits these days but its better to double check.

Oops, thanks.

dblaikie accepted this revision.Jan 15 2018, 12:01 PM
dblaikie added a subscriber: dblaikie.

Test case? (maybe just a static_assert with std::is_same type trait or something in the unit test file)

This revision is now accepted and ready to land.Jan 15 2018, 12:01 PM
courbet updated this revision to Diff 129922.Jan 16 2018, 12:38 AM

Add unit test.

This revision was automatically updated to reflect the committed changes.