summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-impl-1.m
Commit message (Collapse)AuthorAgeFilesLines
* Added a new attribute, objc_root_class, which informs the compiler when a ↵Patrick Beard2012-04-061-1/+1
| | | | | | | | | root class is intentionally declared. The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
* Use Sema::RequireCompleteType to check for the completeness ofDouglas Gregor2011-11-141-1/+1
| | | | | | | | | | Objective-C classes. This has two purposes: to consistently provide "forward declaration here" notes when we hit an incomplete type, and to give LLDB a chance to complete the type. RequireCompleteType bits from Sean Callanan! llvm-svn: 144573
* 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
* Remove Sema::LookupObjCImplementation and replace it with just calling ↵Argyrios Kyrtzidis2009-07-211-1/+1
| | | | | | ObjCInterfaceDecl::getImplementation(). llvm-svn: 76509
* Diagnose if an implementation implements a forward classFariborz Jahanian2009-04-231-0/+7
| | | | | | declaration (and avoid issuing bogus error later on). llvm-svn: 69928
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Make all the 'redefinition' diagnostics more consistent, and make the Chris Lattner2008-11-231-2/+2
| | | | | | "previously defined here" diagnostics all notes. llvm-svn: 59920
* move all objc sema tests into a new SemaObjC directory. Next step is toChris Lattner2008-07-261-0/+33
remove the objc- prefix from the tests that use it. llvm-svn: 54084
OpenPOWER on IntegriCloud