[cfe-dev] Objective-C constant strings

David Chisnall csdavec at swansea.ac.uk
Sat Jun 21 14:04:42 PDT 2008


This patch adds code generation hooks for Objective-C constant  
strings.  It also modifies Sema so that Objective-C constant strings  
are treated as untyped objects if the interface for the constant  
string class can not be found.  This is consistent with Apple GCC.  I  
thought it was consistent with GNU GCC, since this was causing  
failures when trying to compile GNUstep with (GNU) GCC, but it appears  
that this is not the case when attempting to produce a simple test  
case to demonstrate it.  Possibly there is a way of making the error  
go away, but I haven't found out what it is yet.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: string.diff
Type: application/octet-stream
Size: 4705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080621/c28c697f/attachment.obj>
-------------- next part --------------



More information about the cfe-dev mailing list