summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-07-07 06:20:39 +0000
committerDouglas Gregor <dgregor@apple.com>2015-07-07 06:20:39 +0000
commit25123c040d81c146a02e27967720fcbb94f13c98 (patch)
treeac29151940dc768e83cd5c6efcec73dbd531c3d2
parentcedcd9f860d7f3cfe57f15e88efd731197e88606 (diff)
downloadbcm5719-llvm-25123c040d81c146a02e27967720fcbb94f13c98.tar.gz
bcm5719-llvm-25123c040d81c146a02e27967720fcbb94f13c98.zip
[AST] Add a comment for ObjCMethodDecl::getSendResultType() function.
llvm-svn: 241562
-rw-r--r--clang/include/clang/AST/DeclObjC.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h
index ad037acbdf3..0aeb8ca4de5 100644
--- a/clang/include/clang/AST/DeclObjC.h
+++ b/clang/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
OpenPOWER on IntegriCloud