]> granicus.if.org Git - clang/commit
[objc] When boxing a BOOL/NSInteger/NSUInteger type, use the corresponding
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 10 May 2012 23:12:03 +0000 (23:12 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 10 May 2012 23:12:03 +0000 (23:12 +0000)
commit2df1a5819fd98708ff3b4772f3477f6c1a8da59a
tree86a4c4bc8ff20e8e9bb82483b00484fd7766ddff
parent51d18cab1f55df33d85137868b59fec0c4a8776a
[objc] When boxing a BOOL/NSInteger/NSUInteger type, use the corresponding
numberWithBool:/numberWithInteger:/numberWithUnsignedInteger: NSNumber selectors.

rdar://11428703

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156583 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/NSAPI.h
include/clang/AST/Type.h
lib/AST/NSAPI.cpp
lib/AST/Type.cpp
test/CodeGenObjC/boxing.m [new file with mode: 0644]
test/Rewriter/objc-modern-boxing.mm