diff --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h index 9fbff6e8b2b9..c5ccc2f41b79 100644 --- a/clang/include/clang/AST/DeclBase.h +++ b/clang/include/clang/AST/DeclBase.h @@ -786,7 +786,7 @@ public: return const_cast(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; } diff --git a/clang/include/clang/AST/Redeclarable.h b/clang/include/clang/AST/Redeclarable.h index 912fc456a8f0..106b6301ae75 100644 --- a/clang/include/clang/AST/Redeclarable.h +++ b/clang/include/clang/AST/Redeclarable.h @@ -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.