aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-06-18 20:59:25 +0100
committerJonathan Wakely <jwakely@redhat.com>2024-06-19 17:34:19 +0100
commit5d156a91853a7863d674ed35df87562e3a1eba0e (patch)
treefafbb8429204fbd52b96f157160dc55ab6434aec /gcc/tree-vectorizer.h
parent9651d6005f9c1ac60aecf7b36d6c0bd1ead8a63b (diff)
downloadgcc-5d156a91853a7863d674ed35df87562e3a1eba0e.zip
gcc-5d156a91853a7863d674ed35df87562e3a1eba0e.tar.gz
gcc-5d156a91853a7863d674ed35df87562e3a1eba0e.tar.bz2
libstdc++: Add noexcept to some std::promise shared state internals
Making the state ready for a std::promise<void> only needs to move a unique_ptr, which cannot throw. Make its call operator noexcept. Similarly, making the state ready by storing an exception_ptr also can't throw, so make that call operator noexcept too. libstdc++-v3/ChangeLog: * include/std/future (_State_baseV2::_Setter<R, void>): Add noexcept to call operator. (_State_baseV2::_Setter<R, __exception_ptr_tag>): Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions