hanchenye-llvm-project/clang/lib/Sema
Steve Naroff 42959b2660 Change diagnostic as a result of researching <rdar://problem/6779809> missing interface name in "error: cannot declare variable inside a class, protocol or category ''.
Since ObjC 2.0 class "extensions" have a null name, the diagnostic above is actually "correct". Nevertheless, it is confusing. Decided to remove the name entirely (from my perspective, it didn't add any value). Also simplified the text of the diagnostic a bit.

llvm-svn: 68967
2009-04-13 17:58:46 +00:00
..
CMakeLists.txt Update CMake 2009-03-27 05:18:33 +00:00
CXXFieldCollector.h Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
IdentifierResolver.cpp Introduce a new OpaquePtr<N> struct type, which is a simple POD wrapper for a 2009-03-28 19:18:32 +00:00
IdentifierResolver.h Rework the way we find locally-scoped external declarations when we 2009-03-02 00:19:53 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
ParseAST.cpp Push DeclGroup much farther throughout the compiler. Now the various 2009-03-29 16:50:03 +00:00
Sema.cpp Give Type::getDesugaredType a "for-display" mode that can apply more 2009-04-01 15:47:24 +00:00
Sema.h Diagnose invalid uses of tagged types with a missing tag. For example, in: 2009-04-12 21:49:30 +00:00
SemaAccess.cpp Revert Sebastian's rvalue patch (r67870) since it caused test failures in 2009-03-28 04:17:27 +00:00
SemaAttr.cpp Deallocate 'DeclRefExpr's in correctly formed '#pragma unused' 2009-03-23 22:50:47 +00:00
SemaCXXScopeSpec.cpp More improvements to namespace aliases. We now support everything except aliases in using directives. 2009-03-28 23:53:49 +00:00
SemaChecking.cpp CodeGenModule::GetAddrOfConstantCFString(): 2009-04-01 21:16:31 +00:00
SemaDecl.cpp Make the selection of type declarations in Sema::getTypeName 2009-04-13 15:14:38 +00:00
SemaDeclAttr.cpp Implement attribute "analyzer_noreturn" (<rdar://problem/6777003>). This allows 2009-04-10 00:01:14 +00:00
SemaDeclCXX.cpp fix some out of date comments pointed out by Sebastian 2009-04-12 22:37:57 +00:00
SemaDeclObjC.cpp Change diagnostic as a result of researching <rdar://problem/6779809> missing interface name in "error: cannot declare variable inside a class, protocol or category ''. 2009-04-13 17:58:46 +00:00
SemaExpr.cpp Fix rdar://6770142 - Class and qualified id's are compatible, just like 2009-04-12 09:02:39 +00:00
SemaExprCXX.cpp Parse deleted member functions. Parsing member declarations goes through a different code path that I forgot previously. 2009-04-12 17:16:29 +00:00
SemaExprObjC.cpp Fix rdar://6770142 - Class and qualified id's are compatible, just like 2009-04-12 09:02:39 +00:00
SemaInherit.cpp Propagate the ASTContext to various AST traversal and lookup functions. 2009-04-09 21:40:53 +00:00
SemaInherit.h Make parsing a semantic analysis a little more robust following Sema 2009-04-01 21:51:26 +00:00
SemaInit.cpp Propagate the ASTContext to various AST traversal and lookup functions. 2009-04-09 21:40:53 +00:00
SemaLookup.cpp Implementation of pre-compiled headers (PCH) based on lazy 2009-04-09 22:27:44 +00:00
SemaNamedCast.cpp Fix a few isObjectTypes that really need to be isIncompleteOrObject 2009-03-24 20:13:58 +00:00
SemaOverload.cpp Parse deleted member functions. Parsing member declarations goes through a different code path that I forgot previously. 2009-04-12 17:16:29 +00:00
SemaOverload.h Reintroduce r67870 (rval ref overloading), since I can't reproduce any test failures on i386 or x86_64. If this fails for someone, please contact me. 2009-03-29 15:27:50 +00:00
SemaStmt.cpp if we already know that a decl is invalid in an @catch, don't verify its type. 2009-04-12 23:26:56 +00:00
SemaTemplate.cpp Propagate the ASTContext to various AST traversal and lookup functions. 2009-04-09 21:40:53 +00:00
SemaTemplateInstantiate.cpp Propagate the ASTContext to various AST traversal and lookup functions. 2009-04-09 21:40:53 +00:00
SemaTemplateInstantiateDecl.cpp Propagate the ASTContext to various AST traversal and lookup functions. 2009-04-09 21:40:53 +00:00
SemaTemplateInstantiateExpr.cpp Revamp our representation of C++ nested-name-specifiers. We now have a 2009-03-26 23:50:42 +00:00
SemaType.cpp Introduce a new OpaquePtr<N> struct type, which is a simple POD wrapper for a 2009-03-28 19:18:32 +00:00