diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-05 21:34:09 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-10-05 21:34:09 +0000 |
commit | 9dd0065e61ea4b48b19eee550704ce964e64e946 (patch) | |
tree | a3d8b408a3703f1d7336bdee3989c5eeb546a227 | |
parent | 0d94094cdbfd531ec96b719e0c8339aff7463ff9 (diff) |
Document ObjCMethodDecl::setMethodParams.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141216 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/DeclObjC.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index c05e4110e6..849697a954 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -332,9 +332,13 @@ public: return param_begin() + getSelector().getNumArgs(); } + /// \brief Sets the method's parameters and selector source locations. + /// If the method is implicit (not coming from source) \arg SelLocs is + /// ignored. void setMethodParams(ASTContext &C, ArrayRef<ParmVarDecl*> Params, - ArrayRef<SourceLocation> SelLocs); + ArrayRef<SourceLocation> SelLocs = + ArrayRef<SourceLocation>()); // Iterator access to parameter types. typedef std::const_mem_fun_t<QualType, ParmVarDecl> deref_fun; |