summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/boxing.m
Commit message (Collapse)AuthorAge
* Use private linkage for globals we already name with \01L and \01l.Rafael Espindola2014-02-27
| | | | | | | | | | | | In llvm the only semantic difference between internal and private is that llvm tries to hide private globals my mangling them with a private prefix. Since the globals changed by this patch already had the magic don't mangle marker, there should be no change in the generated assembly. A followup patch should then be able to drop the \01L and \01l prefixes and let llvm mangle as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202419 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed CGObjCMac.cpp to add the marker externally_initialized to ↵Michael Gottesman2013-02-05
| | | | | | | | | | | | | SELECTOR_REFERENCES in both the fragile and non-fragile API. This is to ensure that GlobalOpt in LLVM does not attempt to look through a selector reference to a method var name at compile time. I also added a test/updated old tests that need to recognize the new keyword. rdar://12580965. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174461 91177308-0d34-0410-b5e6-96231b3b80d8
* Add documentation about boxing enum types and a codegen test to makeArgyrios Kyrtzidis2012-05-15
| | | | | | | | sure we pick up the underlying type, per suggestion by Fariborz. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156851 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test case for going through typedefs until we reach "BOOL", that ↵Argyrios Kyrtzidis2012-05-11
| | | | | | NSAPI::isObjCTypedef() is doing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156604 91177308-0d34-0410-b5e6-96231b3b80d8
* [objc] When boxing a BOOL/NSInteger/NSUInteger type, use the correspondingArgyrios Kyrtzidis2012-05-10
numberWithBool:/numberWithInteger:/numberWithUnsignedInteger: NSNumber selectors. rdar://11428703 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156583 91177308-0d34-0410-b5e6-96231b3b80d8