]> granicus.if.org Git - clang/commit
Fixed bug where intrusive_ptr_add_ref and intrusive_ptr_release were
authorTed Kremenek <kremenek@apple.com>
Wed, 3 Oct 2007 00:48:55 +0000 (00:48 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 3 Oct 2007 00:48:55 +0000 (00:48 +0000)
commite260e62ddaefa0db5226f88313d30d5b50182d3a
tree201a03a60492b13712d58934127faf6988994212
parent37e58d104d7756f7c18f525b74e46b8eeec8ef81
Fixed bug where intrusive_ptr_add_ref and intrusive_ptr_release were
not declared "static inline."

Removed member templates for operator= and copy constructor.  They simply
didn't work as expected.

Fixed reference counting bug when a smart pointer is assigned the
value of another smart pointer that refers to the same address.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42562 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Support/IntrusiveSPtr.h