================
@@ -17649,6 +17651,9 @@ bool Sema::DiagnoseAssignmentResult(AssignConvertType 
ConvTy,
   case AssignConvertType::CompatibleOBTDiscards:
     return false;
   case AssignConvertType::IncompatibleOBTKinds: {
+    if (SrcType->isArrayType() || SrcType->isFunctionType()) {
----------------
NeKon69 wrote:

Understandable, I did as you asked but for some reason it failed on some python 
test for lldb? Weird

https://github.com/llvm/llvm-project/pull/183616
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to