llvm-project/clang/lib/Sema
Douglas Gregor b242683d99 Overhaul checking of non-type template arguments that should refer to
an object or function. Our previous checking was too lax, and ended up
allowing missing or extraneous address-of operators, among other
evils. The new checking provides better diagnostics and adheres more
closely to the standard.

Fixes PR6563 and PR6749.

llvm-svn: 100125
2010-04-01 18:32:35 +00:00
..
AnalysisBasedWarnings.cpp the big refactoring bits of PR3782. 2010-03-30 20:24:48 +00:00
AnalysisBasedWarnings.h For forward-declared static inline functions, delay CFG-based warnings until we 2010-03-23 01:37:12 +00:00
CMakeLists.txt Refactor CFG-based warnings in Sema to be run by a worked object called AnalysisBasedWarnings. 2010-03-20 21:06:02 +00:00
CXXFieldCollector.h ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not 2010-03-17 19:25:57 +00:00
CodeCompleteConsumer.cpp Remove unused headers. 2010-03-08 11:29:03 +00:00
IdentifierResolver.cpp Optimize the implementation of IdDeclInfo pooling in the IdentifierResolver. 2010-02-15 19:38:00 +00:00
IdentifierResolver.h Eliminate dead code. 2010-01-02 21:44:36 +00:00
JumpDiagnostics.cpp Make a note for the C++0x future, when we'll have to revisit the jump-diagnostics handling for variables without initializers 2010-03-08 02:49:08 +00:00
Lookup.h Handle simple friend-class decls in class templates better by ensuring that 2010-03-25 21:28:06 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
ParseAST.cpp Entering the main source file in the preprocessor can fail if the 2010-03-17 15:44:30 +00:00
Sema.cpp Teach the diagnostic engine to provide more detailed information about 2010-03-25 22:17:48 +00:00
Sema.h Overhaul checking of non-type template arguments that should refer to 2010-04-01 18:32:35 +00:00
SemaAccess.cpp Fix an oversight with access control for address-of-function. 2010-03-30 22:20:00 +00:00
SemaAttr.cpp Rip out the last remaining implicit use of OverloadedFunctionDecl in Sema: 2009-12-02 08:25:40 +00:00
SemaCXXCast.cpp Propagate the "found declaration" (i.e. the using declaration instead of 2010-03-30 21:47:33 +00:00
SemaCXXScopeSpec.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaChecking.cpp Do not mark the destructor of a function parameter's type. Fixes PR6709. 2010-03-26 06:57:13 +00:00
SemaCodeComplete.cpp Remember the "found declaration" for an overload candidate, which is the 2010-03-19 07:35:19 +00:00
SemaDecl.cpp Improve diagnostics when an elaborated-type-specifer containing a 2010-03-31 23:17:41 +00:00
SemaDeclAttr.cpp Support __attribute__((unused)) on types. This suddenly started firing 2010-03-31 02:47:45 +00:00
SemaDeclCXX.cpp Change the representation of dependent elaborated-type-specifiers 2010-03-31 22:19:08 +00:00
SemaDeclObjC.cpp Patch implements gcc's -Wno-protocol option to suppress warning 2010-03-31 18:23:33 +00:00
SemaExceptionSpec.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaExpr.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaExprCXX.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaExprObjC.cpp Diagnose miuse of property dot-syntax instead of crashing. 2010-03-22 21:02:34 +00:00
SemaInit.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaInit.h Propagate the "found declaration" (i.e. the using declaration instead of 2010-03-30 21:47:33 +00:00
SemaLookup.cpp the big refactoring bits of PR3782. 2010-03-30 20:24:48 +00:00
SemaObjCProperty.cpp Recognize __attribute__((NSObject)) directly applied 2010-03-30 22:40:11 +00:00
SemaOverload.cpp Overhaul checking of non-type template arguments that should refer to 2010-04-01 18:32:35 +00:00
SemaOverload.h Remember the "found declaration" for an overload candidate, which is the 2010-03-19 07:35:19 +00:00
SemaStmt.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaTemplate.cpp Overhaul checking of non-type template arguments that should refer to 2010-04-01 18:32:35 +00:00
SemaTemplate.h After performing template argument deduction for a function template, 2010-03-28 02:42:43 +00:00
SemaTemplateDeduction.cpp Rename TypenameType to DependentNameType in anticipation of some 2010-03-31 17:34:00 +00:00
SemaTemplateInstantiate.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
SemaTemplateInstantiateDecl.cpp Improve diagnostics when an elaborated-type-specifer containing a 2010-03-31 23:17:41 +00:00
SemaType.cpp Extend DependentNameType with a keyword enum that specifies whether 2010-03-31 20:19:30 +00:00
TargetAttributesSema.cpp Don't emit a warning about a dllimport attribute being used in a typedef 2010-02-21 05:12:56 +00:00
TargetAttributesSema.h Generalize target weirdness handling having proper layering in mind: 2010-01-10 12:58:08 +00:00
TreeTransform.h Improve diagnostics when an elaborated-type-specifer containing a 2010-03-31 23:17:41 +00:00