From 1c608cb5880f16323e34443530fa64c21a88d84c Mon Sep 17 00:00:00 2001 From: Yitzhak Mandelbaum Date: Wed, 25 Sep 2019 14:58:39 +0000 Subject: [PATCH] [NFC] Fix typo in `getPreviousDecl` comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372884 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index d64d0cb425..01c2f18097 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -959,7 +959,7 @@ public: /// as this declaration, or NULL if there is no previous declaration. Decl *getPreviousDecl() { return getPreviousDeclImpl(); } - /// Retrieve the most recent declaration that declares the same entity + /// Retrieve the previous declaration that declares the same entity /// as this declaration, or NULL if there is no previous declaration. const Decl *getPreviousDecl() const { return const_cast(this)->getPreviousDeclImpl(); -- 2.40.0