summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/cocoa.m
Commit message (Collapse)AuthorAgeFilesLines
* Move ObjC Cocoa.h header test to HeadersAlp Toker2014-04-191-5/+0
| | | | | | | This tests for broad compatibility with platform SDK headers using the clang driver and so belongs alongside the other header ingtegration tests. llvm-svn: 206687
* Fix test.Anders Carlsson2010-02-021-1/+1
| | | | llvm-svn: 95108
* clang -cc1: Rename -mcpu to -target-cpu to match other target options and ↵Daniel Dunbar2009-12-181-1/+1
| | | | | | not alias driver/backend option. llvm-svn: 91671
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-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
* Change tests to use clang -cc1...Fariborz Jahanian2009-12-141-1/+1
| | | | llvm-svn: 91297
* Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'.Daniel Dunbar2009-11-201-1/+1
| | | | llvm-svn: 89498
* Improve handling of (X86) target features.Daniel Dunbar2009-05-061-2/+1
| | | | | | | | | | | | | | | | | | | | | - This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
* Forgot to remove trailing &&Daniel Dunbar2009-04-011-1/+1
| | | | llvm-svn: 68220
* Ted & I crossed paths here, these tests are in cocoa-pth.m now.Daniel Dunbar2009-04-011-3/+0
| | | | llvm-svn: 68215
* Re-enable PTH testing for cocoa.h and carbon.h. This tests that PTH works onTed Kremenek2009-04-011-1/+4
| | | | | | real-world header files and these tests have caught serious bugs in the past. llvm-svn: 68204
* Pull clang-cc code for generating PTH files based on the input type.Daniel Dunbar2009-04-011-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | - <rdar://problem/6741594> [pth] don't abuse -x to drive pth generation - Simpler, and fixes PR3915. Cleanup test cases for PTH: - Update to use -emit-pth - Removed PTH test of carbon.c and cocoa.mm; these didn't actually verify anything, and since PTH is token based the extra coverage (over cocoa.m) isn't particularly helpful. - Split PTH tests in cocoa.m to cocoa-pth.m, solely to increase available parallelism when running tests. Ted, could you update the PTH test cases (include-pth.c and cocoa-pth.m) to have some sort of positive check that the PTH is getting used? "# of PTH cache hits" or "tokens read from PTH cache" statistics would work great. :) llvm-svn: 68189
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-4/+6
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add sub-testcase where we process Cocoa.h using --disable-free (i.e., test ↵Ted Kremenek2009-02-061-0/+1
| | | | | | the usage of the BumpPtrAllocator in ASTContext). llvm-svn: 63957
* Fix <rdar://problem/6512717> by correctly reading the right offset in the ↵Ted Kremenek2009-01-211-1/+2
| | | | | | token data in PTHLexer::getSourceLocation(). llvm-svn: 62725
* Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for ↵Ted Kremenek2009-01-091-1/+2
| | | | | | Objective-C++). llvm-svn: 61965
* Temporarily revert r61956 and r61957 (PTH tests failing).Ted Kremenek2009-01-091-2/+1
| | | | llvm-svn: 61960
* Enhance -fsyntax-only test of Cocoa.h to also include testing for PTH.Ted Kremenek2009-01-081-1/+2
| | | | llvm-svn: 61957
* move all objc sema tests into a new SemaObjC directory. Next step is toChris Lattner2008-07-261-0/+5
remove the objc- prefix from the tests that use it. llvm-svn: 54084
OpenPOWER on IntegriCloud