summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCValue.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-12-20 11:34:38 +0000
committerPavel Labath <labath@google.com>2017-12-20 11:34:38 +0000
commitbf8519b5c9aa2c381b5f4725c21601a99b1b37c2 (patch)
treefdea5969874603e91207d7bb062d870afb4ed6b1 /llvm/lib/MC/MCValue.cpp
parent3cfdaa30e28ddd35290fe319a2d2f903977d4233 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud