[clang] Desugar complex element types for promoted complex division (PR #168943)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 05:42:59 PST 2025


================
@@ -320,7 +320,8 @@ class ComplexExprEmitter
   QualType getPromotionType(FPOptionsOverride Features, QualType Ty,
                             bool IsComplexDivisor) {
     if (auto *CT = Ty->getAs<ComplexType>()) {
-      QualType ElementType = CT->getElementType();
----------------
zahiraam wrote:

Yes, done.

https://github.com/llvm/llvm-project/pull/168943


More information about the cfe-commits mailing list