================
@@ -3764,6 +3764,23 @@ void DecompositionDecl::printName(llvm::raw_ostream &OS,
   OS << ']';
 }
 
+const VarDecl *DecompositionDecl::getOriginalVar() const {
----------------
alexey-bataev wrote:

codegen/Sema still silently falls back when init is a bare CallExpr or deeper 
cast chain. Either extend getOriginalVar() or centralize init-shape checking so 
all paths share one predicate.

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

Reply via email to