summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMalcolm Parsons <malcolm.parsons@gmail.com>2017-05-08 16:43:29 +0000
committerMalcolm Parsons <malcolm.parsons@gmail.com>2017-05-08 16:43:29 +0000
commit2eac1d881aff35eeeeac18395f4eeff8ea89524c (patch)
treeb8b90858942cadd1921b7d4e13a88a46d80b9346 /clang
parent6745447753302cd0aaec01402518a1bfb9b485b4 (diff)
downloadbcm5719-llvm-2eac1d881aff35eeeeac18395f4eeff8ea89524c.tar.gz
bcm5719-llvm-2eac1d881aff35eeeeac18395f4eeff8ea89524c.zip
[AST] Fix copy&paste error in comment. NFC.
llvm-svn: 302440
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/Decl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index 573ea55de1f..bba40e56b00 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -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());
}
OpenPOWER on IntegriCloud