[cfe-commits] r54659 - in /cfe/trunk/lib/CodeGen: CGExprConstant.cpp CGObjC.cpp CGObjCGNU.cpp CGObjCMac.cpp CGObjCRuntime.h
clattner at apple.com
Mon Aug 11 22:09:31 PDT 2008
On Aug 11, 2008, at 5:12 PM, Daniel Dunbar wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=54659&view=rev
> Add ObjC constant string support for NeXT.
> Changed CGObjCRuntime::GenerateConstantString interface to take
> std::string instead of char* and size.
What is the advantage of this approach? The std::string does a copy
of the data now which isn't strictly needed.
More information about the cfe-commits