aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/rewrite-foreach-6.m
AgeCommit message (Collapse)AuthorFilesLines
2013-06-07Define id to the correct type.Rafael Espindola1-1/+1
Found this while working on pr16247. The fix for that bug will cause clang to reject this. llvm-svn: 183545
2012-06-20Restructure how the driver communicates information about theJohn McCall1-1/+1
target Objective-C runtime down to the frontend: break this down into a single target runtime kind and version, and compute all the relevant information from that. This makes it relatively painless to add support for new runtimes to the compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z, available at the driver level as a better and more general alternative to -fgnu-runtime and -fnext-runtime. This new concept of an Objective-C runtime also encompasses what we were previously separating out as the "Objective-C ABI", so fragile vs. non-fragile runtimes are now really modelled as different kinds of runtime, paving the way for better overall differentiation. As a sort of special case, continue to accept the -cc1 flag -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak. I won't go so far as to say "no functionality change", even ignoring the new driver flag, but subtle changes in driver semantics are almost certainly not intended. llvm-svn: 158793
2012-02-04These tests are intended to run in NeXt's legacy objective-c abi (fragile-abi).Fariborz Jahanian1-1/+1
Make this explicit since default is now nonfragile-abi. llvm-svn: 149787
2011-02-24Fix a rewrite bug. // rdar://9039342Fariborz Jahanian1-1/+5
llvm-svn: 126435
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
- This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
2009-12-14Make tests use the new clang -cc1 flag.Fariborz Jahanian1-1/+1
llvm-svn: 91299
2009-11-29Use '-o' '-' instead of '-o=-' in tests.Daniel Dunbar1-1/+1
llvm-svn: 90067
2009-03-24Rename clang to clang-cc.Daniel Dunbar1-1/+1
Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
2008-04-14Rename RewriteTest->RewriteObjC.Steve Naroff1-1/+1
llvm-svn: 49692
2008-03-26Fix rewriter tests to work with new output file logic. This changes forces ↵Steve Naroff1-1/+1
the output to standard out (rather than generate a .cpp file, which is the new default for the rewriter). llvm-svn: 48847
2008-02-01Moved "Rewriter" tests from test/Sema to test/Rewriter.Ted Kremenek1-0/+13
llvm-svn: 46640