]> granicus.if.org Git - clang/commitdiff
[NFC] Fix typo in `getPreviousDecl` comment.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 25 Sep 2019 14:58:39 +0000 (14:58 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Wed, 25 Sep 2019 14:58:39 +0000 (14:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372884 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclBase.h

index d64d0cb425db0a021d4f2639d6a6d3e7c3a42dc8..01c2f1809771bcf5b9be2d4e13d67add3094785a 100644 (file)
@@ -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<Decl *>(this)->getPreviousDeclImpl();