]> granicus.if.org Git - clang/commitdiff
[AST] Add a comment for ObjCMethodDecl::getSendResultType() function.
authorDouglas Gregor <dgregor@apple.com>
Tue, 7 Jul 2015 06:20:39 +0000 (06:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 7 Jul 2015 06:20:39 +0000 (06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241562 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h

index ad037acbdf3d7fb85a79d1ab718d4b8739601831..0aeb8ca4de5a464575276936bd2cbf533d95e297 100644 (file)
@@ -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