]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add implementation of Optional
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 23 Aug 2022 15:26:37 +0000 (16:26 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:05 +0000 (14:00 +0100)
commit9a4fee5f57c1ba6844407f81a6a40c30bc2735d4
tree5f812646cae384c4787dbfcddfce9d66aa2fc47a
parenteb10bc5225e03c32175b32c4778e937e64f7ddaa
gccrs: Add implementation of Optional

This adds an Optional<T> class to improve error handling.

gcc/rust/
* util/rust-optional-test.cc: New.
* util/rust-optional.h: New.
gcc/rust/util/rust-optional-test.cc [new file with mode: 0644]
gcc/rust/util/rust-optional.h [new file with mode: 0644]