Document ObjCMethodDecl::setMethodParams.

llvm-svn: 141216
This commit is contained in:
Argyrios Kyrtzidis
2011-10-05 21:34:09 +00:00
parent a7324ede34
commit a2e40934d5

View File

@@ -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;