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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199686 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/ASTContext.h 3 additions, 3 deletionsinclude/clang/AST/ASTContext.h
- include/clang/AST/CanonicalType.h 9 additions, 9 deletionsinclude/clang/AST/CanonicalType.h
- include/clang/AST/DataRecursiveASTVisitor.h 4 additions, 4 deletionsinclude/clang/AST/DataRecursiveASTVisitor.h
- include/clang/AST/DeclObjC.h 11 additions, 3 deletionsinclude/clang/AST/DeclObjC.h
- include/clang/AST/RecursiveASTVisitor.h 4 additions, 4 deletionsinclude/clang/AST/RecursiveASTVisitor.h
- include/clang/AST/Type.h 26 additions, 26 deletionsinclude/clang/AST/Type.h
- include/clang/AST/TypeLoc.h 1 addition, 1 deletioninclude/clang/AST/TypeLoc.h
- include/clang/CodeGen/CGFunctionInfo.h 1 addition, 1 deletioninclude/clang/CodeGen/CGFunctionInfo.h
- include/clang/Sema/Sema.h 5 additions, 7 deletionsinclude/clang/Sema/Sema.h
- lib/AST/ASTContext.cpp 25 additions, 25 deletionslib/AST/ASTContext.cpp
- lib/AST/ASTImporter.cpp 7 additions, 8 deletionslib/AST/ASTImporter.cpp
- lib/AST/Decl.cpp 8 additions, 7 deletionslib/AST/Decl.cpp
- lib/AST/DeclObjC.cpp 1 addition, 1 deletionlib/AST/DeclObjC.cpp
- lib/AST/ItaniumMangle.cpp 3 additions, 3 deletionslib/AST/ItaniumMangle.cpp
- lib/AST/Mangle.cpp 2 additions, 2 deletionslib/AST/Mangle.cpp
- lib/AST/MangleNumberingContext.cpp 1 addition, 1 deletionlib/AST/MangleNumberingContext.cpp
- lib/AST/MicrosoftMangle.cpp 4 additions, 3 deletionslib/AST/MicrosoftMangle.cpp
- lib/AST/Type.cpp 10 additions, 8 deletionslib/AST/Type.cpp
- lib/AST/TypePrinter.cpp 4 additions, 4 deletionslib/AST/TypePrinter.cpp
- lib/AST/VTableBuilder.cpp 3 additions, 3 deletionslib/AST/VTableBuilder.cpp
Loading
Please register or sign in to comment