summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/class-def-test-1.m
Commit message (Collapse)AuthorAgeFilesLines
* Objective-C. Diagose use of undefined protocolsFariborz Jahanian2014-03-111-1/+1
| | | | | | | when a class adopts a protocol that inherits from undefined protocols. // rdar://16111182 llvm-svn: 203586
* Add test.Eli Friedman2013-06-211-2/+3
| | | | llvm-svn: 184519
* When typo-correction an Objective-C superclass name, don'tDouglas Gregor2011-12-011-1/+3
| | | | | | typo-correct to ourselves. llvm-svn: 145583
* 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
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Adopt a more principled approach to invalid declarations:Douglas Gregor2009-02-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | - If a declaration is an invalid redeclaration of an existing name, complain about the invalid redeclaration then avoid adding it to the AST (we can still parse the definition or initializer, if any). - If the declaration is invalid but there is no prior declaration with that name, introduce the invalid declaration into the AST (for later error recovery). - If the declaration is an invalid redeclaration of a builtin that starts with __builtin_, we produce an error and drop the redeclaration. If it is an invalid redeclaration of a library builtin (e.g., malloc, printf), warn (don't error!) and drop the redeclaration. If a user attempts to define a builtin, produce an error and (if it's a library builtin like malloc) suggest -ffreestanding. This addresses <rdar://problem/6097585> and PR2892. However, PR3588 is still going to cause some problems when builtins are redeclared without a prototype. llvm-svn: 64639
* Fix <rdar://problem/6552648> error: redefinition of ↵Steve Naroff2009-02-041-0/+7
| | | | | | | | 'XCElementAnchorDelegate' as different kind of symbol. At first glance, this looked like a recent regression (possibly created by http://llvm.org/viewvc/llvm-project?view=rev&revision=63354, which was the only recent change to this section of Sema::ActOnStartClassInterface()). After more investigation, it looks like an edge case bug that we didn't cover in our tests. llvm-svn: 63738
* Make all the 'redefinition' diagnostics more consistent, and make the Chris Lattner2008-11-231-3/+3
| | | | | | "previously defined here" diagnostics all notes. llvm-svn: 59920
* make some objc redefinition warnings more consistent: call definitions Chris Lattner2008-11-231-2/+2
| | | | | | | "definitions", not declarations. Point out the location of the original definition. llvm-svn: 59919
* simplify some code.Chris Lattner2008-07-261-1/+1
| | | | llvm-svn: 54091
* move all objc sema tests into a new SemaObjC directory. Next step is toChris Lattner2008-07-261-0/+26
remove the objc- prefix from the tests that use it. llvm-svn: 54084
OpenPOWER on IntegriCloud