diff options
| author | Pavel Labath <labath@google.com> | 2017-12-20 11:34:38 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2017-12-20 11:34:38 +0000 |
| commit | bf8519b5c9aa2c381b5f4725c21601a99b1b37c2 (patch) | |
| tree | fdea5969874603e91207d7bb062d870afb4ed6b1 /llvm/lib/MC/MCValue.cpp | |
| parent | 3cfdaa30e28ddd35290fe319a2d2f903977d4233 (diff) | |
| download | bcm5719-llvm-bf8519b5c9aa2c381b5f4725c21601a99b1b37c2.tar.gz bcm5719-llvm-bf8519b5c9aa2c381b5f4725c21601a99b1b37c2.zip | |
Remove llvm::MemoryBuffer const_casts
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.
Reviewers: dblaikie, rsmith
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D41387
llvm-svn: 321167
Diffstat (limited to 'llvm/lib/MC/MCValue.cpp')
0 files changed, 0 insertions, 0 deletions

