diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-09-24 06:10:20 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-09-24 06:10:20 +0000 |
commit | d33218cd684ff38ad3e197f4128768906e72f0c5 (patch) | |
tree | 7660301a578bfa09f59d6c966c8f0dc6d9728935 /CodeGen/ModuleBuilder.cpp | |
parent | f37bb25120f2b9532443aaee03b7a909eb27af9a (diff) |
Added smart pointer class "IntrusiveSPtr" that handles reference
counted objects that maintain their own internal reference count.
This smart pointer implementation is compatible with LLVM-style
down-casting (see in llvm: include/llvm/Support/Casting.h).
Implemented "RefCounted", a base class that objects that wish to be
managed using IntrusiveSPtrs can subclass.
Reference counted objects are being targeted for use in path-sensitive
dataflow analyses where managing many live objects becomes difficult.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions