aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/DeclCXX.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/DeclCXX.h')
-rw-r--r--include/clang/AST/DeclCXX.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h
index 25a75b9ea0..5298745312 100644
--- a/include/clang/AST/DeclCXX.h
+++ b/include/clang/AST/DeclCXX.h
@@ -1193,7 +1193,7 @@ public:
/// isUserProvided - True if it is either an implicit constructor or
/// if it was defaulted or deleted on first declaration.
bool isUserProvided() const {
- return getCanonicalDecl()->isDeleted() || getCanonicalDecl()->isDefaulted();
+ return !(isDeleted() || getCanonicalDecl()->isDefaulted());
}
///