From: Argyrios Kyrtzidis Date: Wed, 5 Oct 2011 21:34:09 +0000 (+0000) Subject: Document ObjCMethodDecl::setMethodParams. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dd0065e61ea4b48b19eee550704ce964e64e946;p=clang Document ObjCMethodDecl::setMethodParams. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141216 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 Params, - ArrayRef SelLocs); + ArrayRef SelLocs = + ArrayRef()); // Iterator access to parameter types. typedef std::const_mem_fun_t deref_fun;