================
@@ -10726,13 +10726,13 @@ static void DetectPrecisionLossInComplexDivision(Sema 
&S, QualType DivisorTy,
   if (!CT)
     return;
 
-  QualType ElementType = CT->getElementType();
+  ASTContext &Ctx = S.getASTContext();
+  QualType ElementType = CT->getElementType().getDesugaredType(Ctx);
----------------
mizvekov wrote:

Ditto

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

Reply via email to