================
@@ -1645,3 +1645,41 @@ void create() {
}
} // namespace issue82023
+
+namespace custom_invalidation
+{
+
+struct Database {
+ void CloseConnection();
+ static void StaticCloseConnection(Database&);
+ friend void FriendCloseConnection(Database&);
+ void Query();
+};
+
+void Run() {
----------------
vbvictor wrote:
Please add tests with template invalidation function, templated `struct
Database` class, templated `CloseConnection` method.
https://github.com/llvm/llvm-project/pull/170346
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits