clang API Documentation
#include <RewriteRope.h>

Public Member Functions | |
| void | addRef () |
| void | dropRef () |
Public Attributes | |
| unsigned | RefCount |
| char | Data [1] |
RopeRefCountString - This struct is allocated with 'new char[]' from the heap, and represents a reference counted chunk of string data. When its ref count drops to zero, it is delete[]'d. This is primarily managed through the RopePiece class below.
Definition at line 31 of file RewriteRope.h.
| void clang::RopeRefCountString::addRef | ( | ) | [inline] |
Definition at line 35 of file RewriteRope.h.
References RefCount.
Referenced by clang::RopePiece::operator=(), and clang::RopePiece::RopePiece().
| void clang::RopeRefCountString::dropRef | ( | ) | [inline] |
Definition at line 39 of file RewriteRope.h.
References RefCount.
Referenced by clang::RopePiece::operator=(), clang::RewriteRope::~RewriteRope(), and clang::RopePiece::~RopePiece().
| char clang::RopeRefCountString::Data[1] |
Definition at line 33 of file RewriteRope.h.
Referenced by clang::RopePiece::operator[]().
| unsigned clang::RopeRefCountString::RefCount |
Definition at line 32 of file RewriteRope.h.