================ @@ -44,6 +43,12 @@ inline Target* uncheckedDowncast(Source* source) return static_cast<Target*>(source); } +template<typename Target, typename Source> +Target* [[clang::annotate_type("webkit.pointerconversion")]] newCastFunction(Source*); ---------------- rniwa wrote:
I don't think so. I added a test case for that. https://github.com/llvm/llvm-project/pull/141277 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits