r193036 - Comment improvement.
Rafael Espindola
rafael.espindola at gmail.com
Sat Oct 19 06:08:51 PDT 2013
Author: rafael
Date: Sat Oct 19 08:08:51 2013
New Revision: 193036
URL: http://llvm.org/viewvc/llvm-project?rev=193036&view=rev
Log:
Comment improvement.
Thanks to Sean Silva for the suggestion.
Modified:
cfe/trunk/include/clang/AST/DeclBase.h
cfe/trunk/include/clang/AST/Redeclarable.h
Modified: cfe/trunk/include/clang/AST/DeclBase.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclBase.h?rev=193036&r1=193035&r2=193036&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclBase.h (original)
+++ cfe/trunk/include/clang/AST/DeclBase.h Sat Oct 19 08:08:51 2013
@@ -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;
}
Modified: cfe/trunk/include/clang/AST/Redeclarable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Redeclarable.h?rev=193036&r1=193035&r2=193036&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Redeclarable.h (original)
+++ cfe/trunk/include/clang/AST/Redeclarable.h Sat Oct 19 08:08:51 2013
@@ -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.
More information about the cfe-commits
mailing list