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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D41387
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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 19 2017, 10:53 AM Closed by commit rL321167: Remove llvm::MemoryBuffer const_casts (authored by labath). · Explain WhyDec 20 2017, 3:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 127677 cfe/trunk/lib/Basic/SourceManager.cpp
cfe/trunk/lib/Lex/Preprocessor.cpp
|