[clang] [CLANG] Full support of complex multiplication and division. (PR #81514)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 14 12:48:28 PDT 2024
================
@@ -51,11 +51,12 @@ class ComplexExprEmitter
CGBuilderTy &Builder;
bool IgnoreReal;
bool IgnoreImag;
-public:
- ComplexExprEmitter(CodeGenFunction &cgf, bool ir=false, bool ii=false)
- : CGF(cgf), Builder(CGF.Builder), IgnoreReal(ir), IgnoreImag(ii) {
- }
+ LangOptions::ComplexRangeKind FPHasBeenPromoted;
----------------
andykaylor wrote:
This is a somewhat misleading variable name. The name implies that it will be a Boolean value.
https://github.com/llvm/llvm-project/pull/81514
More information about the cfe-commits
mailing list