================
@@ -63,6 +63,18 @@ template<typename Out, typename... In> Function<Out(In...)> 
adopt(Detail::Callab
     return Function<Out(In...)>(impl, Function<Out(In...)>::Adopt);
 }
 
+template <typename KeyType, typename ValueType>
+class HashMap {
+public:
+  HashMap();
+  HashMap([[clang::noescape]] const Function<ValueType()>&);
----------------
rniwa wrote:

A good point! Added a test case for static function & non-member function.

https://github.com/llvm/llvm-project/pull/126016
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to