]> granicus.if.org Git - clang/commitdiff
Comment improvement.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 19 Oct 2013 13:08:51 +0000 (13:08 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 19 Oct 2013 13:08:51 +0000 (13:08 +0000)
Thanks to Sean Silva for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193036 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclBase.h
include/clang/AST/Redeclarable.h

index 9fbff6e8b2b902db5031bc13455215c93e6c8c98..c5ccc2f41b79548efe93c85e6befc8569fc3ac42 100644 (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;
   }
index 912fc456a8f0d0a46d657de4cefec5deef5ff125..106b6301ae754ccbd66b2bb4cd86af0d33f9ee03 100644 (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.