Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExprConstant.cpp645 struct ComplexValue { struct
647 bool IsInt;
650 APSInt IntReal, IntImag;
651 APFloat FloatReal, FloatImag;
653 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() argument
655 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
656 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
657 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
658 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
660 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]