projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa09e0
)
[NFC] Fix typo in `getPreviousDecl` comment.
author
Yitzhak Mandelbaum
<yitzhakm@google.com>
Wed, 25 Sep 2019 14:58:39 +0000
(14:58 +0000)
committer
Yitzhak Mandelbaum
<yitzhakm@google.com>
Wed, 25 Sep 2019 14:58:39 +0000
(14:58 +0000)
llvm-svn: 372884
clang/include/clang/AST/DeclBase.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/AST/DeclBase.h
b/clang/include/clang/AST/DeclBase.h
index
d64d0cb
..
01c2f18
100644
(file)
--- 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();