================
@@ -2092,6 +2092,10 @@ void Sema::CheckCompatibleReinterpretCast(QualType 
SrcType, QualType DestType,
     }
   }
 
+  if (SrcTy->isTemplateTypeParmType() || DestTy->isTemplateTypeParmType()) {
----------------
necto wrote:

Good point
Fixed in 541e0af03998

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

Reply via email to