clang API Documentation

Public Member Functions | Public Attributes
clang::RopeRefCountString Struct Reference

#include <RewriteRope.h>

Collaboration diagram for clang::RopeRefCountString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Retain ()
void Release ()

Public Attributes

unsigned RefCount
char Data [1]

Detailed 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.

Definition at line 34 of file RewriteRope.h.


Member Function Documentation

Definition at line 40 of file RewriteRope.h.

References RefCount.

Definition at line 38 of file RewriteRope.h.

References RefCount.


Member Data Documentation

Definition at line 36 of file RewriteRope.h.

Definition at line 35 of file RewriteRope.h.

Referenced by Release(), and Retain().


The documentation for this struct was generated from the following file: