llvm-project/clang/lib/Sema
Alp Toker 9cacbabd33 Rename FunctionProtoType accessors from 'arguments' to 'parameters'
Fix a perennial source of confusion in the clang type system: Declarations and
function prototypes have parameters to which arguments are supplied, so calling
these 'arguments' was a stretch even in C mode, let alone C++ where default
arguments, templates and overloading make the distinction important to get
right.

Readability win across the board, especially in the casting, ADL and
overloading implementations which make a lot more sense at a glance now.

Will keep an eye on the builders and update dependent projects shortly.

No functional change.

llvm-svn: 199686
2014-01-20 20:26:09 +00:00
..
AnalysisBasedWarnings.cpp [analyzer] Add a CFG node for the allocator call in a C++ 'new' expression. 2014-01-13 17:59:19 +00:00
AttributeList.cpp Remove some hard-coded specialness for thread-safety attributes from the parser, and made it more declarative. If an attribute is allowed to appear on a function definition when late parsed, it can now use the FunctionDefinition attribute subject. It's treated as a FunctionDecl for most purposes, except it also gets exposed on the AttributeList so that it can be used while parsing. 2014-01-20 17:18:35 +00:00
CMakeLists.txt Removing the notion of TargetAttributesSema and replacing it with one where the parsed attributes are responsible for knowing their target-specific nature, instead of letting Sema figure it out. This is necessary so that __has_attribute can eventually determine whether a parsed attribute applies to the given target or not. 2014-01-09 22:48:32 +00:00
CodeCompleteConsumer.cpp Allow the computation of the base priority for a declaration code completion result to consider the completion context 2013-01-31 04:52:16 +00:00
DeclSpec.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
DelayedDiagnostic.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
IdentifierResolver.cpp Per [dcl.meaning]p1, a name in an inline namespace can be redeclared using a 2013-12-05 04:30:04 +00:00
JumpDiagnostics.cpp Rename language option MicrosoftMode to MSVCCompat 2014-01-14 12:51:41 +00:00
Makefile
MultiplexExternalSemaSource.cpp Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Scope.cpp Revert r193073 and the attempt to fix it in r193170. 2013-10-22 18:07:04 +00:00
ScopeInfo.cpp [REFACTOR] Refactored some of the generic-lambda capturing code. 2013-12-07 20:22:44 +00:00
Sema.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaAccess.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaAttr.cpp Distinguish between attributes explicitly written at the request of the user, and attributes implicitly generated to assist in bookkeeping by the compiler. This is done so by table generating a CreateImplicit method for each attribute. 2014-01-16 13:03:14 +00:00
SemaCXXScopeSpec.cpp Rename language option MicrosoftMode to MSVCCompat 2014-01-14 12:51:41 +00:00
SemaCast.cpp Revert "Revert r199416, "MS ABI: Improve selection of an inheritance model"" 2014-01-17 09:01:00 +00:00
SemaChecking.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaCodeComplete.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaConsumer.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SemaDecl.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaDeclAttr.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaDeclCXX.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaDeclObjC.cpp Distinguish between attributes explicitly written at the request of the user, and attributes implicitly generated to assist in bookkeeping by the compiler. This is done so by table generating a CreateImplicit method for each attribute. 2014-01-16 13:03:14 +00:00
SemaExceptionSpec.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaExpr.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaExprCXX.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaExprMember.cpp PR12788: Remove unnecessary and incorrect special case for indirect fields. 2014-01-17 22:29:43 +00:00
SemaExprObjC.cpp [objc] Refactor and improve functionality for the -Wunused-property-ivar warning. 2014-01-03 18:32:18 +00:00
SemaFixItUtils.cpp PR17290: Use 'false' macro in fix-it hint for initializing a variable of type 2013-09-20 00:27:40 +00:00
SemaInit.cpp Removing some more unnecessary manual quotes from diagnostics. 2014-01-03 14:54:10 +00:00
SemaLambda.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaLookup.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaObjCProperty.cpp Distinguish between attributes explicitly written at the request of the user, and attributes implicitly generated to assist in bookkeeping by the compiler. This is done so by table generating a CreateImplicit method for each attribute. 2014-01-16 13:03:14 +00:00
SemaOpenMP.cpp Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
SemaOverload.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaPseudoObject.cpp Removing some more unnecessary manual quotes from diagnostics. 2014-01-03 14:23:03 +00:00
SemaStmt.cpp Issue a warning if a throwing operator new or operator new[] returns a null 2014-01-17 02:09:33 +00:00
SemaStmtAsm.cpp [ms-inline asm] Don't diagnose an empty lookup for inline assmebly. This happen 2013-05-24 18:32:55 +00:00
SemaStmtAttr.cpp Distinguish between attributes explicitly written at the request of the user, and attributes implicitly generated to assist in bookkeeping by the compiler. This is done so by table generating a CreateImplicit method for each attribute. 2014-01-16 13:03:14 +00:00
SemaTemplate.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaTemplateDeduction.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaTemplateInstantiate.cpp PR18477: Create a function scope representing the constructor call when 2014-01-17 03:11:34 +00:00
SemaTemplateInstantiateDecl.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
SemaTemplateVariadic.cpp Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
SemaType.cpp Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
TreeTransform.h Rename FunctionProtoType accessors from 'arguments' to 'parameters' 2014-01-20 20:26:09 +00:00
TypeLocBuilder.cpp Add missing file from r183563 (the recommit of 183466). 2013-06-07 20:33:10 +00:00
TypeLocBuilder.h Re-commit r183466 with a fix to make the TypeLoc casting machinery work 2013-06-07 20:31:48 +00:00