[cfe-commits] r43021 - in /cfe/trunk: AST/ASTContext.cpp Sema/SemaExpr.cpp include/clang/AST/ASTContext.h

Chris Lattner clattner at apple.com
Thu Oct 18 10:14:13 PDT 2007


> Change the type of ObjCStringLiteral from "struct  
> __builtin_CFString *" to "NSConstantString *".
>
> This makes the typecheck much happier. Without this change, the  
> type checker would have to special case "struct __builtin_CFString  
> *". This change does assume the interface for NSConstantString is  
> declared in the translation unit.

Ok

> I left ASTContext::getCFConstantStringType() around for now (with a  
> comment that says it is currently unused).

If it really is dead, please remove it.  We can always resurrect it  
from svn if needed later,

Thanks!

-Chris



More information about the cfe-commits mailing list