LLVM 20.0.0git
|
RopeRefCountString - This struct is allocated with 'new char[]' from the heap, and represents a reference counted chunk of string data. More...
#include "llvm/ADT/RewriteRope.h"
Public Member Functions | |
void | Retain () |
void | Release () |
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 33 of file RewriteRope.h.
|
inline |
Definition at line 39 of file RewriteRope.h.
|
inline |
Definition at line 37 of file RewriteRope.h.
References RefCount.
char llvm::RopeRefCountString::Data[1] |
Definition at line 35 of file RewriteRope.h.
unsigned llvm::RopeRefCountString::RefCount |
Definition at line 34 of file RewriteRope.h.