vbvictor wrote:

> It is hard to understand double negation in not-nothrow part. At least we 
> should avoid it.
maybe bugprone-exception-copy-constructor-throwable WDYT?

Agree that double-negation is hard to read, changed to 
`bugprone-exception-copy-constructor-throws` (changed `throwable` to `throws` 
because it sounds like [an 
object](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html) to 
me)

https://github.com/llvm/llvm-project/pull/164061
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to