Skip to content
Snippets Groups Projects
Commit 6d2a6c12 authored by Stephan Bergmann's avatar Stephan Bergmann
Browse files

Fix documentation of MemberExpr::getMemberDecl

Differential Revision: https://reviews.llvm.org/D23907


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281469 91177308-0d34-0410-b5e6-96231b3b80d8
parent 8933d16e
No related branches found
No related tags found
No related merge requests found
...@@ -2406,8 +2406,8 @@ public: ...@@ -2406,8 +2406,8 @@ public:
/// \brief Retrieve the member declaration to which this expression refers. /// \brief Retrieve the member declaration to which this expression refers.
/// ///
/// The returned declaration will either be a FieldDecl or (in C++) /// The returned declaration will be a FieldDecl or (in C++) a VarDecl (for
/// a CXXMethodDecl. /// static data members), a CXXMethodDecl, or an EnumConstantDecl.
ValueDecl *getMemberDecl() const { return MemberDecl; } ValueDecl *getMemberDecl() const { return MemberDecl; }
void setMemberDecl(ValueDecl *D) { MemberDecl = D; } void setMemberDecl(ValueDecl *D) { MemberDecl = D; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment