forked from OSchip/llvm-project
Comment improvement.
Thanks to Sean Silva for the suggestion. llvm-svn: 193036
This commit is contained in:
parent
4fea22c63b
commit
f8c4f371d9
|
@ -786,7 +786,7 @@ public:
|
|||
return const_cast<Decl *>(this)->getPreviousDeclImpl();
|
||||
}
|
||||
|
||||
/// \brief Returns true if this is the first declaration.
|
||||
/// \brief True if this is the first declaration in it's redeclaration chain.
|
||||
bool isFirstDecl() const {
|
||||
return getPreviousDecl() == 0;
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ public:
|
|||
return D;
|
||||
}
|
||||
|
||||
/// \brief Returns true if this is the first declaration.
|
||||
/// \brief True if this is the first declaration in it's redeclaration chain.
|
||||
bool isFirstDecl() const { return RedeclLink.NextIsLatest(); }
|
||||
|
||||
/// \brief Returns the most recent (re)declaration of this declaration.
|
||||
|
|
Loading…
Reference in New Issue