Searched refs:RopeRefCountString (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h25 // RopeRefCountString Class
28 /// RopeRefCountString - This struct is allocated with 'new char[]' from the
32 struct RopeRefCountString { struct in namespace:clang
50 /// RopePiece - This class represents a view into a RopeRefCountString object.
56 /// that both refer to the same underlying RopeRefCountString (just with
59 RopeRefCountString *StrData;
65 RopePiece(RopeRefCountString *Str, unsigned Start, unsigned End)
188 RopeRefCountString *AllocBuffer;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DRewriteRope.cpp763 /// RopeRefCountString, and return a RopePiece that represents it. This uses
780 unsigned Size = End-Start+sizeof(RopeRefCountString)-1;
781 RopeRefCountString *Res =
782 reinterpret_cast<RopeRefCountString *>(new char[Size]);
795 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
796 AllocBuffer = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);

Completed in 111 milliseconds