commit | f6c6b3ad5360288cd62257e25fde1b37a921b3b9 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@fuchsia.infra.roller.google.com> | Wed Feb 07 22:20:53 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 07 14:22:32 2024 -0800 |
tree | 4d836229de6922c9cc5d06cc9b953d526abbe354 | |
parent | 50de14a381890a70dc66c032c6624284bb232146 [diff] |
[roll] Roll fuchsia [fidlc] Remove HasClone and HasCopy This removes traits.h which defines HasClone and HasCopy. I added these in I3ef8929bcc8bf0cc02f34c55e45e62f65123616d while implementing FIDL versioning. My rationale at the time was: * If this were Rust, I would have made them traits. * I wanted to ensure that all AST types implemented Copy/Clone. * I wanted to document Clone and Copy in one place. I've changed my mind: * This isn't Rust; simulating traits is much more heavyweight in C++, requiring inheritance and CRTP (curiously recurring template pattern). * The build will fail if any Clone() implementation is missing, so there's no need to model it further in the type system. * The meaning of "clone" is pretty obvious already. Test: fx test fidlc-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/987635 Original-Revision: 9d1fd5313da271bd4330276ca7dc124c00212885 GitOrigin-RevId: ad265fd3a44d0e253843a00c799854f6c3d10f5d Change-Id: Ia22a45045b31390f1816969892b1b399b2b2f5fd
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.