This is an archive of the discontinued LLVM Phabricator instance.

Add a method to get element at in a struct from the C API
ClosedPublic

Authored by deadalnix on May 30 2015, 8:01 PM.

Details

Summary

As per title. It is kind of retarged to have to allocate an array to get all the type when one is only interested in one.

Diff Detail

Event Timeline

deadalnix updated this revision to Diff 26852.May 30 2015, 8:01 PM
deadalnix retitled this revision from to Add a method to get element at in a struct from the C API.
deadalnix updated this object.
deadalnix edited the test plan for this revision. (Show Details)
deadalnix added a subscriber: Unknown Object (MLST).

Ping ? This is a trivial change, simply mapping existing things in the C API. Unless these functiona re planned to go away or something, this shouldn't require too much review.

whitequark accepted this revision.Jun 4 2015, 1:20 AM
whitequark edited edge metadata.

LGTM. Can you commit?

This revision is now accepted and ready to land.Jun 4 2015, 1:20 AM
whitequark closed this revision.Jun 4 2015, 2:14 AM

Landed as r239029.