From: Yitzhak Mandelbaum Date: Wed, 25 Sep 2019 14:58:39 +0000 (+0000) Subject: [NFC] Fix typo in `getPreviousDecl` comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c608cb5880f16323e34443530fa64c21a88d84c;p=clang [NFC] Fix typo in `getPreviousDecl` comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372884 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();