]> granicus.if.org Git - clang/commit
"this patch adds code generation hooks for Objective-C constant strings. It also...
authorChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2008 21:44:18 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 21 Jun 2008 21:44:18 +0000 (21:44 +0000)
commit13fd7e5111032f54b538dd66d035b0ccc1f82467
tree8ba9554dc5025c65798210a2b8750c9f14d382bb
parent23a0e45540cf441eeaaba02da5cf0419f936c6a0
"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."

Patch by David Chisnall!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52599 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/Sema/SemaExprObjC.cpp
test/Parser/objc-foreach-error-1.m
test/Sema/missing-string-interface.m [deleted file]
test/Sema/objc-property-8.m