r241562 - [AST] Add a comment for ObjCMethodDecl::getSendResultType() function.

Douglas Gregor dgregor at apple.com
Mon Jul 6 23:20:39 PDT 2015


Author: dgregor
Date: Tue Jul  7 01:20:39 2015
New Revision: 241562

URL: http://llvm.org/viewvc/llvm-project?rev=241562&view=rev
Log:
[AST] Add a comment for ObjCMethodDecl::getSendResultType() function.

Modified:
    cfe/trunk/include/clang/AST/DeclObjC.h

Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=241562&r1=241561&r2=241562&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Tue Jul  7 01:20:39 2015
@@ -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





More information about the cfe-commits mailing list