Home
last modified time | relevance | path

Searched defs:ComplexValue (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1591 struct ComplexValue { struct
1593 bool IsInt;
1596 APSInt IntReal, IntImag;
1597 APFloat FloatReal, FloatImag;
1599 ComplexValue() : FloatReal(APFloat::Bogus()), FloatImag(APFloat::Bogus()) {} in ComplexValue() argument
1601 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
1602 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
1603 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
1604 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
1606 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]