aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-11-10 20:43:52 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-11-10 20:43:52 +0000
commita19ea3454dd2d3d0daa44f93672cf4cd722b6a2c (patch)
tree037bfbe0fb3ea83d2df6e00057bc7b80344073b9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf47c3bb8dbcdba2f76a66ba8937bb34953998295 (diff)
downloadllvm-a19ea3454dd2d3d0daa44f93672cf4cd722b6a2c.zip
llvm-a19ea3454dd2d3d0daa44f93672cf4cd722b6a2c.tar.gz
llvm-a19ea3454dd2d3d0daa44f93672cf4cd722b6a2c.tar.bz2
Clean up uses of unique_ptr for RAII objects. NFC.
- EnterExpressionEvaluationContext allows you to specify whether you *actually* want to enter an evaluation context. - For types that don't allow that, llvm::Optional<Foo> should do the same thing as std::unique_ptr<Foo>, but with 100% less heap allocations. llvm-svn: 286500
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions