summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
Commit message (Collapse)AuthorAgeFilesLines
* Remove this test for now.Fariborz Jahanian2010-02-191-17/+0
| | | | llvm-svn: 96651
* XFAIL until I can fugure out how test check for a pattern whenFariborz Jahanian2010-02-191-0/+1
| | | | | | clang is built optimized. llvm-svn: 96645
* Patch removes IVars list from ObjCInterfaceDecl andFariborz Jahanian2010-02-191-0/+16
| | | | | | instead relies on their DeclContext for iteration, etc. llvm-svn: 96638
* Hopefully make buildbot happy.Fariborz Jahanian2010-02-171-1/+1
| | | | llvm-svn: 96513
* Patch to remove arbitrary imporation of 'self' intoFariborz Jahanian2010-02-171-0/+16
| | | | | | | | a block without it being used. This causes over release of objects in certain runtime-senitive apps. (fixes radar 7581175). llvm-svn: 96501
* Generate the objc_read_weak API when callingFariborz Jahanian2010-02-101-0/+29
| | | | | | a __weak block. Fixes radar 7628591. llvm-svn: 95822
* Switch to using -fsjlj-exceptions instead of hard-coding it. Notably, this fixesDaniel Dunbar2010-02-101-0/+14
| | | | | | | calls to the UnwindResumeOrRethrow function for C++/Obj-C exception handling, for Darwin ARM. llvm-svn: 95787
* Fix a code gen bug accessing 'isa' field via a message callFariborz Jahanian2010-02-051-0/+14
| | | | | | (Fixes radar 7609722). llvm-svn: 95406
* Fix DeclContext of an objective-c @catch variableFariborz Jahanian2010-02-031-0/+21
| | | | | | declaration. Fixes radar 7590273. llvm-svn: 95164
* NeXT: Add support for -fobjc-legacy-dispatch.Daniel Dunbar2010-02-011-0/+26
| | | | llvm-svn: 95005
* Driver/Darwin: Stuff iPhoneOS into environment portion of the (llvm/clang) ↵Daniel Dunbar2010-01-261-1/+1
| | | | | | triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number. llvm-svn: 94487
* merge another one in.Chris Lattner2010-01-252-19/+16
| | | | llvm-svn: 94404
* consolidate two testcases.Chris Lattner2010-01-252-40/+15
| | | | llvm-svn: 94403
* fix rdar://7556129 a crash in blocks debug info codegen.Chris Lattner2010-01-251-0/+9
| | | | llvm-svn: 94402
* Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us ↵Anders Carlsson2009-12-241-0/+0
| | | | | | halfway towards fixing PR5824. llvm-svn: 92142
* Add a test for x86-64 struct returns under gc.Anders Carlsson2009-12-241-0/+31
| | | | llvm-svn: 92140
* Testcase fixes to reflect instruction table changes in the LLVM backendSean Callanan2009-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092780.html) The instruction fixes were checked and approved by Chris Lattner, but these testcase fixes are mine; please yell at me if there are any problems with either. * PR5050-constructor-conversion.cpp * array-construction.cpp * constructor-conversion.cpp * cast-conversion.cpp * constructor-default-arg.cpp * derived-to-base-conv.cpp * ptr-to-member-function.cpp * call-arg-zero-temp.cpp * default-destructor-synthesis.cpp * global-array-destruction.cpp * array-operator-delete-call.cpp * decl-ref-init.cpp * default-constructor-for-members.cpp * convert-to-fptr.cpp * constructor-for-array-members.cpp * conversion-function.cpp * objc-read-weak-byref.m Fixed testcase to reflect call qualifier llvm-svn: 91640
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-1/+1
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Fixes a code gen bug related to accessing a nowFariborz Jahanian2009-12-151-0/+9
| | | | | | | | | non-existing 'isa' field of a non-existing struct type all related to legacy type definition for 'id' which we have dropped in clang in favor of a built-in type. (fixes radar 7470820). llvm-svn: 91455
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15103-124/+124
| | | | | | | | | - 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
* Make test more generic.Fariborz Jahanian2009-12-141-1/+2
| | | | llvm-svn: 91349
* Patch to fix 32-bit @try failure with internal assertion when compiling Fariborz Jahanian2009-12-141-0/+24
| | | | | | an Objective-C rethrow nested inside another try/catch block. (fixes radar 7466728). llvm-svn: 91335
* Make test pass in all cases.Fariborz Jahanian2009-12-141-1/+1
| | | | llvm-svn: 91309
* Fixes an incomplete test case.Fariborz Jahanian2009-12-141-2/+2
| | | | llvm-svn: 91304
* Tests use the new clang.Fariborz Jahanian2009-12-14102-123/+123
| | | | llvm-svn: 91290
* Use clang -cc1 in test, to improve determinism.Daniel Dunbar2009-12-131-1/+1
| | | | llvm-svn: 91236
* patch to add a property from a protocol to a class that adopts the protocol.Fariborz Jahanian2009-12-121-0/+32
| | | | | | (fixes radar 7466494). llvm-svn: 91227
* Code gen for ObjCIsaExpr AST used as lvalue.Fariborz Jahanian2009-12-091-2/+5
| | | | | | (fixes radar 7457534). llvm-svn: 90995
* Codegen. support for ObjCIsaExpr AST which until nowFariborz Jahanian2009-12-091-0/+24
| | | | | | was not needed (fixes radar 7453430). llvm-svn: 90981
* (objc2 nonfragile-abi specific). If the translation unit includes an ↵Fariborz Jahanian2009-12-011-1/+15
| | | | | | | | | implementation of a subclass (direct or indirect) of a weak_import root class, emit a weak reference for the root class's metaclass (should complete radar 6815425). llvm-svn: 90249
* Fix a crash when ivar type is a __strong SEL. Fallout fromFariborz Jahanian2009-11-301-0/+1
| | | | | | recent change to make SEL a builtin type (fixes radar 7425510). llvm-svn: 90145
* Use '-FOO' 'BAR' instead of '-FOO=BAR' for FOO in -stack-protector, ↵Daniel Dunbar2009-11-293-3/+3
| | | | | | -fvisibility, and -fconstant-string-class. llvm-svn: 90072
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-299-11/+11
| | | | llvm-svn: 90071
* Allow user re-definition of SEL as well as accessing its fields.Fariborz Jahanian2009-11-251-0/+4
| | | | | | This fixes pr5611. llvm-svn: 89895
* Fixe a crash in encoding of SEL type caused by recent changes.Fariborz Jahanian2009-11-231-0/+2
| | | | llvm-svn: 89696
* Test case for bug fixed in r89457.David Chisnall2009-11-221-0/+6
| | | | llvm-svn: 89605
* This patch implements objective-c's 'SEL' type as a built-inFariborz Jahanian2009-11-212-10/+29
| | | | | | | | | | | | | | | | | | type and fixes a long-standing code gen. crash reported in at least two PRs and a radar. (radar 7405040 and pr5025). There are couple of remaining issues that I would like for Ted. and Doug to look at: Ted, please look at failure in Analysis/MissingDealloc.m. I have temporarily added an expected-warning to make the test pass. This tests has a declaration of 'SEL' type which may not co-exist with the new changes. Doug, please look at a FIXME in PCHWriter.cpp/PCHReader.cpp. I think the changes which I have ifdef'ed out are correct. They need be considered for in a few Indexer/PCH test cases. llvm-svn: 89561
* This patch finalizes implementatin of weak_importFariborz Jahanian2009-11-171-0/+34
| | | | | | objective-c2 classes (radar 6815425). llvm-svn: 89157
* ... and add back a few more triple forces.Daniel Dunbar2009-11-173-3/+3
| | | | llvm-svn: 89088
* Add some -triples I was a little too liberal in removing.Daniel Dunbar2009-11-172-2/+2
| | | | llvm-svn: 89084
* Merge several visibility tests into hidden-visibility.m, and check .ll outputDaniel Dunbar2009-11-174-38/+25
| | | | | | not .s output. llvm-svn: 89083
* Use -fblocks and -fobjc-nonfragile-abi when that is what is being tested, ↵Daniel Dunbar2009-11-1716-17/+17
| | | | | | instead of forcing the triple. llvm-svn: 89072
* Don't #include <stdio.h> when tests don't need it, or use clang instead of ↵Daniel Dunbar2009-11-174-4/+4
| | | | | | clang-cc when they do. llvm-svn: 89070
* Move -fnext-runtime defaulting to driver (and change clang-cc default toDaniel Dunbar2009-11-1739-43/+43
| | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058
* Handle case of missing '@end' in implementation contextFariborz Jahanian2009-11-161-0/+24
| | | | | | | | gracefully, on par with gcc, by: Issuing a warning, doing final sematinc check of its definitions and generating its meta-data. llvm-svn: 88934
* Fix a code gen bug in i386-apple-darwin (objc fragile abi), sendingFariborz Jahanian2009-11-121-0/+32
| | | | | | message to 'super'. Fixes radar 7205866. llvm-svn: 87017
* Remove RUN: true lines.Daniel Dunbar2009-11-0824-24/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-0855-254/+254
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Switch XFAIL format to match LLVM.Daniel Dunbar2009-11-031-1/+1
| | | | llvm-svn: 85880
* Fix <rdar://problem/7330784>. Avoid crashing on 'Class<p>' when generating ↵Steve Naroff2009-10-281-1/+2
| | | | | | meta-data for a class. llvm-svn: 85440
OpenPOWER on IntegriCloud