aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/arc-ivar-layout.m
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28[clang] Remove rdar links; NFCAaron Ballman1-2/+0
We have a new policy in place making links to private resources something we try to avoid in source and test files. Normally, we'd organically switch to the new policy rather than make a sweeping change across a project. However, Clang is in a somewhat special circumstance currently: recently, I've had several new contributors run into rdar links around test code which their patch was changing the behavior of. This turns out to be a surprisingly bad experience, especially for newer folks, for a handful of reasons: not understanding what the link is and feeling intimidated by it, wondering whether their changes are actually breaking something important to a downstream in some way, having to hunt down strangers not involved with the patch to impose on them for help, accidental pressure from asking for potentially private IP to be made public, etc. Because folks run into these links entirely by chance (through fixing bugs or working on new features), there's not really a set of problematic links to focus on -- all of the links have basically the same potential for causing these problems. As a result, this is an omnibus patch to remove all such links. This was not a mechanical change; it was done by manually searching for rdar, radar, radr, and other variants to find all the various problematic links. From there, I tried to retain or reword the surrounding comments so that we would lose as little context as possible. However, because most links were just a plain link with no supporting context, the majority of the changes are simple removals. Differential Review: https://reviews.llvm.org/D158071
2023-07-17Revert "Remove rdar links; NFC"Mehdi Amini1-0/+2
This reverts commit d618f1c3b12effd0c2bdb7d02108d3551f389d3d. This commit wasn't reviewed ahead of time and significant concerns were raised immediately after it landed. According to our developer policy this warrants immediate revert of the commit. https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Differential Revision: https://reviews.llvm.org/D155509
2023-07-07Remove rdar links; NFCAaron Ballman1-2/+0
This removes links to rdar, which is an internal bug tracker that the community doesn't have visibility into. See further discussion at: https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
2015-10-29Fix the emission of ARC ivar layouts in the non-fragile Mac runtime.John McCall1-11/+25
My previous change in this area accidentally broke the rule when InstanceBegin was not a multiple of the word size. llvm-svn: 251666
2015-05-12Changed renaming of local symbols by inserting a dot vefore the numeric suffixSunil Srivastava1-4/+4
details in http://reviews.llvm.org/D9483 goes with llvm checkin r237150 llvm-svn: 237151
2014-04-02Objective-C [IRGen]. Add encoding for 'weak' attribute of aFariborz Jahanian1-0/+9
'readonly' property. // rdar://16136439 llvm-svn: 205477
2013-12-04clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/NAKAMURA Takumi1-1/+1
llvm-svn: 196350
2013-09-04Don't pass -O0 to clang_cc1, it is the default.Rafael Espindola1-1/+1
llvm-svn: 189910
2013-08-12Fix FileCheck --check-prefix lines.Tim Northover1-1/+1
Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
2012-09-18Disable some tests that fail when the x86 backend isn't built.Benjamin Kramer1-0/+1
llvm-svn: 164122
2012-02-16objc-arc: For arc's ivar layout, treat __unsafe_unretained ivarsFariborz Jahanian1-0/+11
as unscanned. // rdar://10832643 llvm-svn: 150639
2011-10-02Make -fobjc-nonfragile-abi the -cc1 default, since it's theJohn McCall1-1/+1
increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. llvm-svn: 140957
2011-07-06Change the driver's logic about Objective-C runtimes: abstract out aJohn McCall1-1/+1
structure to hold inferred information, then propagate each invididual bit down to -cc1. Separate the bits of "supports weak" and "has a native ARC runtime"; make the latter a CodeGenOption. The tool chain is still driving this decision, because it's the place that has the required deployment target information on Darwin, but at least it's better-factored now. llvm-svn: 134453
2011-06-15Automatic Reference Counting.John McCall1-0/+44
Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103