From ae03af3de9bcc848832dcdf84ad36b989e787808 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 7 Jul 2015 06:20:39 +0000 Subject: [PATCH] [AST] Add a comment for ObjCMethodDecl::getSendResultType() function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241562 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclObjC.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index ad037acbdf..0aeb8ca4de 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -332,7 +332,9 @@ public: SourceRange getReturnTypeSourceRange() const; /// \brief Determine the type of an expression that sends a message to this - /// function. + /// function. This replaces the type parameters with the types they would + /// get if the receiver was parameterless (e.g. it may replace the type + /// parameter with 'id'). QualType getSendResultType() const; /// Determine the type of an expression that sends a message to this -- 2.50.1