Comment improvement.

Thanks to Sean Silva for the suggestion.

llvm-svn: 193036
This commit is contained in:
Rafael Espindola 2013-10-19 13:08:51 +00:00
parent 4fea22c63b
commit f8c4f371d9
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.