[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)
llvm-svn: 372884

clang/include/clang/AST/DeclBase.h

index d64d0cb..01c2f18 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();