struct RopeRefCountString
Declaration
struct RopeRefCountString { /* full declaration omitted */ };
Description
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.
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:33
Member Variables
- public unsigned int RefCount
- public char[1] Data
Method Overview
Methods
¶void Release()
void Release()
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:39
¶void Retain()
void Retain()
Declared at: clang/include/clang/Rewrite/Core/RewriteRope.h:37