llvm-project
d08459d3 - [orc-rt] Mark LockedAccess's constructor as noexcept. (#230311)

Commit
43 days ago
[orc-rt] Mark LockedAccess's constructor as noexcept. (#230311) The ORC runtime does not use exceptions for errors internally, so mark this noexcept. In practice the mutex and lock types we use (STL mutexes and locks) don't throw unless corrupted or misconfigured. If we ever want to support locks whose acquisition can legitimately fail we'll need an alternative Error-based representation of failure.
Author
Parents
Loading