summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-refactor/TestSupport.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-19 19:33:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-19 19:33:35 +0000
commit0da49a7ef14b4f0d6fa343b7876209d37f5fe56b (patch)
treec1c37115bbd8c4055858ecdf8af6dbc307ca7750 /clang/tools/clang-refactor/TestSupport.h
parent0ab990345a7e8314cd4819363a40e52a83d53ac5 (diff)
downloadbcm5719-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/tools/clang-refactor/TestSupport.h')
-rw-r--r--clang/tools/clang-refactor/TestSupport.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/tools/clang-refactor/TestSupport.h b/clang/tools/clang-refactor/TestSupport.h
index 61aa660733f..779006b0c50 100644
--- a/clang/tools/clang-refactor/TestSupport.h
+++ b/clang/tools/clang-refactor/TestSupport.h
@@ -59,9 +59,6 @@ struct TestSelectionRangesInFile {
};
std::vector<RangeGroup> GroupedRanges;
- TestSelectionRangesInFile(TestSelectionRangesInFile &&) = default;
- TestSelectionRangesInFile &operator=(TestSelectionRangesInFile &&) = default;
-
bool foreachRange(const SourceManager &SM,
llvm::function_ref<void(SourceRange)> Callback) const;
OpenPOWER on IntegriCloud