From: Yitzhak Mandelbaum Date: Wed, 25 Sep 2019 14:58:39 +0000 (+0000) Subject: [NFC] Fix typo in `getPreviousDecl` comment. X-Git-Tag: llvmorg-11-init~8321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae834ba52d644088319f7be746c944d67688091f;p=platform%2Fupstream%2Fllvm.git [NFC] Fix typo in `getPreviousDecl` comment. llvm-svn: 372884 --- diff --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h index d64d0cb..01c2f18 100644 --- a/clang/include/clang/AST/DeclBase.h +++ b/clang/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();