Page MenuHomePhabricator

Remove llvm::MemoryBuffer const_casts
ClosedPublic

Authored by labath on Dec 19 2017, 4:48 AM.

Details

Summary

llvm has grown a WritableMemoryBuffer class, which is convertible
(inherits from) a MemoryBuffer. We can use it to avoid conts_casting the
buffer contents when we want to write to it.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Dec 19 2017, 4:48 AM
dblaikie accepted this revision.Dec 19 2017, 10:53 AM

Seems good

This revision is now accepted and ready to land.Dec 19 2017, 10:53 AM
This revision was automatically updated to reflect the committed changes.