From: Richard Smith Date: Tue, 22 May 2012 01:41:27 +0000 (+0000) Subject: Truthify a comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e5e092228495c9524ba6fa9b49f116a0c1bbe55;p=clang Truthify a comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157232 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h index 54d4d7b627..6b44f777bb 100644 --- a/include/clang/AST/DeclCXX.h +++ b/include/clang/AST/DeclCXX.h @@ -1610,8 +1610,8 @@ public: return cast(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()); }