mizvekov added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:1091-1150
+ QualType fpTy = ComplexTy->castAs<ComplexType>()->getElementType();
IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating);
IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy,
CK_FloatingRealToComplex);
} else {
assert(IntTy->isComplexIntegerType());
IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy,
----------------
@shafik let's continue revision of D133522 in this patch, since that one was a
quick fix that I attempted in order to avoid reverting it. But now that it was
reverted, I will abandon the other one.
I have highlighted with this comment the areas affected by D133522 so we can
continue here.
But now I have refactored the whole thing to be simpler / more readable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111509/new/
https://reviews.llvm.org/D111509
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits