Use IntrusiveRefCntPtr to manage the lifetime of BitCodeAbbrevs.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 15 Sep 2014 15:44:14 +0000 (15:44 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 15 Sep 2014 15:44:14 +0000 (15:44 +0000)
commit57a73c27b1a078a689a965289c8152a21dcedc69
tree92efe7a6283daa731ba2a09ca5d2c34fe4718a0b
parentd189a0407d891815692e9c6096770ec471245666
Use IntrusiveRefCntPtr to manage the lifetime of BitCodeAbbrevs.

This doesn't change the interface or gives additional safety but removes
a ton of retain/release boilerplate.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217778 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitCodes.h
include/llvm/Bitcode/BitstreamReader.h
include/llvm/Bitcode/BitstreamWriter.h
lib/Bitcode/Reader/BitstreamReader.cpp