llvm-project/clang/lib/Sema
Chris Lattner ecf328e6dd When parsing a top level struct declaration, make sure to
process decl attributes instead of dropping them on the floor.
This allows us to diagnose cases like the testcase.  Also don't
diagnose deprecated stuff in ActOnTag: not all uses of tags
may be 'uses', and SemaType does this now.

llvm-svn: 85071
2009-10-25 22:21:57 +00:00
..
CMakeLists.txt Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
CXXFieldCollector.h Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
CodeCompleteConsumer.cpp Minor tweaks for code-completion: 2009-10-09 22:16:47 +00:00
IdentifierResolver.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
IdentifierResolver.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
JumpDiagnostics.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
ParseAST.cpp Spell function pointer correctly. 2009-09-22 10:19:04 +00:00
Sema.cpp Preserve type source information in TypedefDecls. Preserve it across 2009-10-24 08:00:42 +00:00
Sema.h Remove the Skip parameter from GetTypeForDeclarator and dependents. Take the opportunity to improve an error message and fix PR4498. 2009-10-25 21:45:37 +00:00
SemaAccess.cpp Refactor the code that walks a C++ inheritance hierarchy, searching 2009-10-06 17:59:45 +00:00
SemaAttr.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaCXXCast.cpp Try to instantiate templates before doing hierarchy checks in static_cast. Fixes PR5261. 2009-10-22 15:07:22 +00:00
SemaCXXScopeSpec.cpp Unify our diagnostic printing for errors of the form, "we didn't like 2009-10-13 21:16:44 +00:00
SemaChecking.cpp Eliminate QualifiedDeclRefExpr, which captured the notion of a 2009-10-23 18:54:35 +00:00
SemaCodeComplete.cpp Eliminate QualifiedDeclRefExpr, which captured the notion of a 2009-10-23 18:54:35 +00:00
SemaDecl.cpp When parsing a top level struct declaration, make sure to 2009-10-25 22:21:57 +00:00
SemaDeclAttr.cpp Preserve type source information in TypedefDecls. Preserve it across 2009-10-24 08:00:42 +00:00
SemaDeclCXX.cpp remove a nonsensical todo 2009-10-25 21:19:07 +00:00
SemaDeclObjC.cpp Remove OriginalTypeParmDecl; the original type is the one specified 2009-10-23 21:48:59 +00:00
SemaExceptionSpec.cpp Have the exception specification checkers take partial diagnostics. Use this to merge two diagnostics. 2009-10-14 16:09:29 +00:00
SemaExpr.cpp minor reorg: check both attributes before decl. 2009-10-25 17:21:40 +00:00
SemaExprCXX.cpp Remove the Skip parameter from GetTypeForDeclarator and dependents. Take the opportunity to improve an error message and fix PR4498. 2009-10-25 21:45:37 +00:00
SemaExprObjC.cpp Remove default argument for ImpCastExprToType. Add appropriate argument 2009-10-20 08:27:19 +00:00
SemaInit.cpp Remove the ConstantArrayType subtypes. This information is preserved in the 2009-10-16 00:14:28 +00:00
SemaLookup.cpp Ignore dependent bases in ADL. Fixes PR5271. 2009-10-25 09:35:33 +00:00
SemaOverload.cpp Audit the code for places where it is assumed that every base specifier refers to a RecordType. Add assertions or conditions as appropriate. This fixes another crash in the Apache stdlib vector. 2009-10-25 17:03:50 +00:00
SemaOverload.h Don't allow the same function to enter the overload candidate set 2009-09-28 04:47:19 +00:00
SemaStmt.cpp Remove default argument for ImpCastExprToType. Add appropriate argument 2009-10-20 08:27:19 +00:00
SemaTemplate.cpp Eliminate QualifiedDeclRefExpr, which captured the notion of a 2009-10-23 18:54:35 +00:00
SemaTemplate.h Implement partial ordering of function template specializations 2009-09-14 18:39:43 +00:00
SemaTemplateDeduction.cpp Audit the code for places where it is assumed that every base specifier refers to a RecordType. Add assertions or conditions as appropriate. This fixes another crash in the Apache stdlib vector. 2009-10-25 17:03:50 +00:00
SemaTemplateInstantiate.cpp Eliminate QualifiedDeclRefExpr, which captured the notion of a 2009-10-23 18:54:35 +00:00
SemaTemplateInstantiateDecl.cpp Preserve type source information in TypedefDecls. Preserve it across 2009-10-24 08:00:42 +00:00
SemaType.cpp move calls to DiagnoseUseOfDecl (which warns about deprecated/unavailable 2009-10-25 22:09:09 +00:00
TreeTransform.h Apply the special enum restrictions from [over.match.oper]p3b2 in argument-dependent lookup too. This fixes PR5244. 2009-10-23 19:23:15 +00:00