commit | 25691ce0cad9a4f54b1f001f573a4a63d44d65bf | [log] [tgz] |
---|---|---|
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | Tue Apr 06 14:11:09 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:29:25 2021 -0700 |
tree | 694efbdae27b4c47c3e81c9c9ab67c8fc447b66e | |
parent | ea85c2cffc24918d8f1a26829615d615ad72da1a [diff] |
[libc++] Post-commit review on D99928. The "user-defined conversion by implicit constructor" codepath is already handled by `B(int)`; we don't need to test `A(const A&)` a second time via `DA` (nor the isomorphic case with `DB`). We don't need `&` anywhere in this test. Generally, `operator()` should be const; this test needn't be special. (No functional change in test coverage.) GitOrigin-RevId: ae318beb35517c70505114cab8d1fb286f99ab4b