================
@@ -68,19 +68,6 @@ struct Member {
 };
 
 struct S {
-  // CHECK-MESSAGES-ALL: :[[@LINE-1]]:8: warning: an exception may be thrown 
in function 'S' which should not throw exceptions
----------------
zeyi2 wrote:

IMO there is no need to add a new testcase in this file, the original bug 
report:

```c++
struct S
{
  S() noexcept {}
  ~S() noexcept {}
};

void f()
{
    S s;
}
```

is essentially the same as the one here.

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

Reply via email to