llvm-project/clang/lib/Sema
Peter Collingbourne 9e73cae25e When instantiating function definitions set parameter names to those used in template
The rationale is that we are copying the entire definition including
parameter names which may differ between the declaration and the
definition.

This is particularly important if any parameters are unnamed in the
declaration, as a DeclRef to an unnamed ParmVarDecl would cause the
pretty printer to produce invalid output.

llvm-svn: 108643
2010-07-18 16:45:46 +00:00
..
AnalysisBasedWarnings.cpp Add a hack to silence warnings about failing to return from functions after 2010-05-17 23:51:52 +00:00
AnalysisBasedWarnings.h Remove micro-optimization for not issueing CFG-based warnings for 'static inline' functions 2010-04-08 18:51:44 +00:00
CMakeLists.txt Update CMake build system for ARM NEON generation. 2010-06-17 15:17:41 +00:00
CXXFieldCollector.h ActOnTagDefinitionError is supposed to 'unwind' ActOnTagStartDefinition, not 2010-03-17 19:25:57 +00:00
CodeCompleteConsumer.cpp Introduce priorities into the code-completion results. 2010-05-26 22:00:08 +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 Be a bit more careful with undefined CXXRecordDecls. Fixes 2010-07-01 00:21:21 +00:00
Lookup.h Fix a point of semantics with using declaration hiding: method templates 2010-06-16 08:42:20 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp push some source location information down through the compiler, 2010-04-20 20:35:58 +00:00
Sema.cpp When looking for an entity's Scope, don't consider scopes that can't contain declarations. Fixes PR7594. 2010-07-08 23:07:34 +00:00
Sema.h Add most of the boilerplate support for scanf format string checking. This includes 2010-07-16 02:11:22 +00:00
SemaAccess.cpp Partial fix for PR7267 based on comments by John McCall on an earlier patch. 2010-06-28 08:39:25 +00:00
SemaAttr.cpp Sema: Fix a bug with #pragma options align=reset, reset against an empty stack 2010-07-16 04:54:16 +00:00
SemaCXXCast.cpp Introduce a new cast kind for an "lvalue bitcast", which handles 2010-07-13 23:17:26 +00:00
SemaCXXScopeSpec.cpp When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaChecking.cpp Improve the representation of the atomic builtins in a few ways. First, we make 2010-07-18 07:23:17 +00:00
SemaCodeComplete.cpp Only filter out names reserved for the implementation (e.g., __blah or 2010-07-14 17:44:04 +00:00
SemaDecl.cpp Revert Microsoft-specific override of the "typedef requires a name" 2010-07-16 15:40:40 +00:00
SemaDeclAttr.cpp Add support for differentiating between attributes ignored when handled and 2010-07-08 09:42:26 +00:00
SemaDeclCXX.cpp A using declaration can redeclare a typedef to the same type. These 2010-07-07 23:08:52 +00:00
SemaDeclObjC.cpp Patch to provide separate ASTs for multiple ObjC class extension 2010-06-22 23:20:40 +00:00
SemaExceptionSpec.cpp Disable exception-spec compatibility checking under -fno-exceptions. 2010-05-28 08:37:35 +00:00
SemaExpr.cpp Check for casts to an incomplete type in C. Improves diagnostics for cast to 2010-07-17 20:43:49 +00:00
SemaExprCXX.cpp When checking whether to bind an expression to a temporary, don't bind Obj-C message send expressions who call methods that return references. 2010-07-16 21:18:37 +00:00
SemaExprObjC.cpp When forming a function call or message send expression, be sure to 2010-07-13 08:18:22 +00:00
SemaInit.cpp Whenever we're creating an expression that is typically an rvalue 2010-07-13 18:40:04 +00:00
SemaInit.h Use MaybeCreateCXXExprWithTemporaries for potential destruction of 2010-06-07 16:14:00 +00:00
SemaLookup.cpp Introduce -f{no-}spell-checking options to enable/disable 2010-07-09 17:35:33 +00:00
SemaObjCProperty.cpp Patch to synthesize property ivars on demand as 2010-07-17 00:59:30 +00:00
SemaOverload.cpp When determining whether an overload set with explicit template 2010-07-14 23:20:53 +00:00
SemaOverload.h An identity conversion is better than any non-identity 2010-05-23 22:10:15 +00:00
SemaStmt.cpp Make the "unused result" warning a warning about run-time behavior, so 2010-07-15 18:47:04 +00:00
SemaTemplate.cpp When performing template name lookup for a dependent member access 2010-07-16 16:54:17 +00:00
SemaTemplate.h When performing substitution of template arguments within the body of 2010-07-08 18:37:38 +00:00
SemaTemplateDeduction.cpp Split DependentNameType into two types. DependentNameType represents the 2010-06-11 00:33:02 +00:00
SemaTemplateInstantiate.cpp Set DeclContext of ParamVarDecl only. No need 2010-07-13 21:05:02 +00:00
SemaTemplateInstantiateDecl.cpp When instantiating function definitions set parameter names to those used in template 2010-07-18 16:45:46 +00:00
SemaType.cpp Improve diagnostics for the "type qualifier on return type has no 2010-07-13 08:50: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 More block instantiation stuff. Set variable/param DeclContext 2010-07-13 20:05:58 +00:00