Peter Collingbourne
44b69879c2
IntrusiveRefCntPtr: in RefCountedBase and RefCountedBaseVPTR, make
...
ref_cnt mutable and Retain/Release const to enable reference counted
pointers to const objects
llvm-svn: 128804
2011-04-04 00:57:03 +00:00
Ted Kremenek
a686187713
Relax access control on 'Release' method of RefCountedBase.
...
llvm-svn: 128054
2011-03-22 01:15:07 +00:00
Ted Kremenek
58a4560569
Allow a client to clear an IntrustiveRefCntPtr (deliberately leaking the referenced object).
...
llvm-svn: 128007
2011-03-21 18:37:59 +00:00
Argyrios Kyrtzidis
f906dcc618
If a class inherits from RefCountedBaseVPTR allow all its subclasses to be used with IntrusiveRefCntPtr.
...
llvm-svn: 127966
2011-03-20 06:14:56 +00:00
Misha Brukman
380e3db1b4
Fixed lint errors:
...
* Alphabetized #includes
* Removed trailing whitespace
* Wrapped or shortened lines over 80 chars
llvm-svn: 65181
2009-02-20 22:20:18 +00:00
Chris Lattner
01e31663c8
improvements for IntrusiveRefCntPtr, patch by Mikhail Glushenkov
...
llvm-svn: 49538
2008-04-11 16:42:06 +00:00
Anton Korobeynikov
261bddcbeb
Add first proof-of-concept universal compiler driver framework based
...
on ideas mentioned in PR686.
Written by Mikhail Glushenkov and contributed by Codedgers, Inc.
Old llvmc will be removed soon after new one will have all its properties.
llvm-svn: 48699
2008-03-23 08:57:20 +00:00
Anton Korobeynikov
ba0d97969e
Update per review. Patch by Mikhail Glushenkov!
...
llvm-svn: 47628
2008-02-26 21:44:24 +00:00
Anton Korobeynikov
fd4b209731
Add smart refcounting pointer class to ADT back (known before as IntrusiveSPtr.h).
...
llvm-svn: 47482
2008-02-22 17:26:05 +00:00