diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-12-19 19:33:35 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-12-19 19:33:35 +0000 |
commit | 0da49a7ef14b4f0d6fa343b7876209d37f5fe56b (patch) | |
tree | c1c37115bbd8c4055858ecdf8af6dbc307ca7750 /clang/lib/Tooling/Refactoring | |
parent | 0ab990345a7e8314cd4819363a40e52a83d53ac5 (diff) | |
download | bcm5719-llvm-0da49a7ef14b4f0d6fa343b7876209d37f5fe56b.tar.gz bcm5719-llvm-0da49a7ef14b4f0d6fa343b7876209d37f5fe56b.zip |
PR40096: Forwards-compatible with C++20 rule regarding aggregates not having user-declared ctors
Looks like these were in place to make these types move-only. That's
generally not a feature that the type should prescribe (unless it's an
inherent limitation) - instead leaving it up to the users of a type.
llvm-svn: 349669
Diffstat (limited to 'clang/lib/Tooling/Refactoring')
-rw-r--r-- | clang/lib/Tooling/Refactoring/ASTSelection.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Tooling/Refactoring/ASTSelection.cpp b/clang/lib/Tooling/Refactoring/ASTSelection.cpp index 7123fc32cec..b8f996d8218 100644 --- a/clang/lib/Tooling/Refactoring/ASTSelection.cpp +++ b/clang/lib/Tooling/Refactoring/ASTSelection.cpp @@ -250,8 +250,6 @@ static bool hasAnyDirectChildrenWithKind(const SelectedASTNode &Node, namespace { struct SelectedNodeWithParents { - SelectedNodeWithParents(SelectedNodeWithParents &&) = default; - SelectedNodeWithParents &operator=(SelectedNodeWithParents &&) = default; SelectedASTNode::ReferenceType Node; llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; |