forked from OSchip/llvm-project
[NFC][sanitizer] Non-copyable ScopedBlockSignals
This commit is contained in:
parent
0fe61ecc2c
commit
faf694b662
|
@ -55,6 +55,9 @@ struct ScopedBlockSignals {
|
|||
explicit ScopedBlockSignals(__sanitizer_sigset_t *copy);
|
||||
~ScopedBlockSignals();
|
||||
|
||||
ScopedBlockSignals &operator=(const ScopedBlockSignals &) = delete;
|
||||
ScopedBlockSignals(const ScopedBlockSignals &) = delete;
|
||||
|
||||
private:
|
||||
__sanitizer_sigset_t saved_;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue