summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-09-25 14:58:39 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-09-25 14:58:39 +0000
commitae834ba52d644088319f7be746c944d67688091f (patch)
treea49c7ba7a269d50d7d788a32dd6510fd01dca735
parent1aa09e0585073eb599a17477440454cea4642bce (diff)
downloadbcm5719-llvm-ae834ba52d644088319f7be746c944d67688091f.tar.gz
bcm5719-llvm-ae834ba52d644088319f7be746c944d67688091f.zip
[NFC] Fix typo in `getPreviousDecl` comment.
llvm-svn: 372884
-rw-r--r--clang/include/clang/AST/DeclBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h
index d64d0cb425d..01c2f180977 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<Decl *>(this)->getPreviousDeclImpl();
OpenPOWER on IntegriCloud