aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/pass_to_move/tests/test-original.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang/pass_to_move/tests/test-original.cc')
-rw-r--r--tools/clang/pass_to_move/tests/test-original.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/clang/pass_to_move/tests/test-original.cc b/tools/clang/pass_to_move/tests/test-original.cc
index 1e2a96d0..c561e125 100644
--- a/tools/clang/pass_to_move/tests/test-original.cc
+++ b/tools/clang/pass_to_move/tests/test-original.cc
@@ -54,9 +54,7 @@ void Test() {
A a5;
F f = F(a5.Pass()).Pass();
- // Chained Pass is handled (mostly) correctly. The replacement applier dedupes
- // the insertion of std::move, so the result is not completely correct...
- // ... but hopefully there's very little code following this broken pattern.
+ // Chained Pass is handled correctly.
A a6;
A a7 = a6.Pass().Pass();
}