]> granicus.if.org Git - clang/commitdiff
Truthify a comment.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 May 2012 01:41:27 +0000 (01:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 22 May 2012 01:41:27 +0000 (01:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157232 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclCXX.h

index 54d4d7b627763af64cdf33bc11eacd54542e8d07..6b44f777bb96a81181aebacf28bbe45748f5cd53 100644 (file)
@@ -1610,8 +1610,8 @@ public:
     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());
   }