smanna12 wrote:

>>That is interesting as it implies that the call to 
>>InitializationSequence::Perform() did indeed return a result that was valid 
>>but null. Would you be able to debug to find out where that null result is 
>>coming from? Perhaps here: clang/lib/Sema/SemaInit.cpp:

Thanks @tahonermann for reviews!. Yes, it is coming from 
InitializationSequence::Perform()  
``
// No steps means no initialization.
 7574   if (Steps.empty())
 7575     return ExprResult((Expr *)nullptr);
``

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

Reply via email to