================
@@ -87,7 +87,6 @@ class SomeClass {
}
void [[clang::annotate_type("webkit.nodelete")]]
swapObj(RefPtr<RefCountable>&& obj) {
- // expected-warning@-1{{A function 'swapObj' has
[[clang::annotate_type("webkit.nodelete")]] but it contains code that could
destruct an object}}
m_obj.swap(obj);
}
----------------
rniwa wrote:
ah, fixed with a test.
https://github.com/llvm/llvm-project/pull/181576
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits