]> granicus.if.org Git - clang/commit
Change the type of ObjC @ string constants (from NSConstantString->NSString).
authorSteve Naroff <snaroff@apple.com>
Tue, 7 Apr 2009 14:18:33 +0000 (14:18 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 7 Apr 2009 14:18:33 +0000 (14:18 +0000)
commitd9fd7647e286723d100db4cfeab31ec022eec629
treea83feade7246bc33f845deca0cd65aad26c72d7d
parent7e075cb62c06e0b0023fd12875c95da9c5ddefb7
Change the type of ObjC @ string constants (from NSConstantString->NSString).

This fixes <rdar://problem/6757102> clang type for @"xxx" is "NSConstantString *" (GCC type is "NSString *").

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68514 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/objc-string-constant.m [new file with mode: 0644]