[cfe-commits] r54659 - in /cfe/trunk/lib/CodeGen: CGExprConstant.cpp CGObjC.cpp CGObjCGNU.cpp CGObjCMac.cpp CGObjCRuntime.h

Chris Lattner 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
> Log:
> Add ObjC constant string support for NeXT.
> Changed CGObjCRuntime::GenerateConstantString interface to take
>       std::string instead of char* and size.

Hey Daniel,

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 mailing list