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

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h26 // RopeRefCountString Class
29 /// RopeRefCountString - This struct is allocated with 'new char[]' from the
33 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 llvm::IntrusiveRefCntPtr<RopeRefCountString> StrData;
64 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start,
171 llvm::IntrusiveRefCntPtr<RopeRefCountString> AllocBuffer;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp771 /// RopeRefCountString, and return a RopePiece that represents it. This uses
788 unsigned Size = End-Start+sizeof(RopeRefCountString)-1;
789 auto *Res = reinterpret_cast<RopeRefCountString *>(new char[Size]);
798 unsigned AllocSize = offsetof(RopeRefCountString, Data) + AllocChunkSize;
799 auto *Res = reinterpret_cast<RopeRefCountString *>(new char[AllocSize]);

Completed in 58 milliseconds