[cfe-commits] r157232 - /cfe/trunk/include/clang/AST/DeclCXX.h
Richard Smith
richard-llvm at metafoo.co.uk
Mon May 21 18:41:27 PDT 2012
Author: rsmith
Date: Mon May 21 20:41:27 2012
New Revision: 157232
URL: http://llvm.org/viewvc/llvm-project?rev=157232&view=rev
Log:
Truthify a comment.
Modified:
cfe/trunk/include/clang/AST/DeclCXX.h
Modified: cfe/trunk/include/clang/AST/DeclCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclCXX.h?rev=157232&r1=157231&r2=157232&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclCXX.h (original)
+++ cfe/trunk/include/clang/AST/DeclCXX.h Mon May 21 20:41:27 2012
@@ -1610,8 +1610,8 @@
return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
}
- /// isUserProvided - True if it is either an implicit constructor or
- /// if it was defaulted or deleted on first declaration.
+ /// isUserProvided - True if this method is user-declared and was not
+ /// deleted or defaulted on its first declaration.
bool isUserProvided() const {
return !(isDeleted() || getCanonicalDecl()->isDefaulted());
}
More information about the cfe-commits
mailing list