From: Rafael Espindola Date: Sat, 19 Oct 2013 13:08:51 +0000 (+0000) Subject: Comment improvement. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaa9035a782fe845ecef4f00029ec33baa2cb701;p=clang Comment improvement. Thanks to Sean Silva for the suggestion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193036 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 9fbff6e8b2..c5ccc2f41b 100644 --- a/include/clang/AST/DeclBase.h +++ b/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/include/clang/AST/Redeclarable.h b/include/clang/AST/Redeclarable.h index 912fc456a8..106b6301ae 100644 --- a/include/clang/AST/Redeclarable.h +++ b/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.