Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExprConstant.cpp654 struct ComplexValue { struct
656 bool IsInt;
659 APSInt IntReal, IntImag;
660 APFloat FloatReal, FloatImag;
662 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() function
664 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
665 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
666 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
667 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
669 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]