]> granicus.if.org Git - clang/commitdiff
[AST] Fix copy&paste error in comment. NFC.
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Mon, 8 May 2017 16:43:29 +0000 (16:43 +0000)
committerMalcolm Parsons <malcolm.parsons@gmail.com>
Mon, 8 May 2017 16:43:29 +0000 (16:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302440 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index 573ea55de1fd60ef50039b75926cc8d7b46b6b81..bba40e56b003bc4460985d2d4e8020438eb5a5af 100644 (file)
@@ -2478,7 +2478,7 @@ public:
   void setCapturedVLAType(const VariableArrayType *VLAType);
 
   /// getParent - Returns the parent of this field declaration, which
-  /// is the struct in which this method is defined.
+  /// is the struct in which this field is defined.
   const RecordDecl *getParent() const {
     return cast<RecordDecl>(getDeclContext());
   }