summaryrefslogtreecommitdiff
path: root/include/clang/AST/DeclCXX.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-09-01 16:29:06 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-09-01 16:29:06 +0000
commitef2abedb8a769fd36f6bf297c7dca6ba0fd3671f (patch)
treee9a6b5da4df35be0858459207ed982a777fd4d0a /include/clang/AST/DeclCXX.h
parenta75fa8aaf2005c6cb7561a9aa5129a38075939a4 (diff)
Vendor import of clang release_50 branch r312293:vendor/clang/clang-release_50-r312293
Notes
svn path=/vendor/clang/dist/; revision=323090 svn path=/vendor/clang/clang-release_50-r312293/; revision=323091; tag=vendor/clang/clang-release_50-r312293
Diffstat (limited to 'include/clang/AST/DeclCXX.h')
-rw-r--r--include/clang/AST/DeclCXX.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index c39eaee9b124..2f735c5506c4 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/include/clang/AST/DeclCXX.h
@@ -2028,7 +2028,10 @@ public:
/// \brief Returns the type of the \c this pointer.
///
- /// Should only be called for instance (i.e., non-static) methods.
+ /// Should only be called for instance (i.e., non-static) methods. Note
+ /// that for the call operator of a lambda closure type, this returns the
+ /// desugared 'this' type (a pointer to the closure type), not the captured
+ /// 'this' type.
QualType getThisType(ASTContext &C) const;
unsigned getTypeQualifiers() const {