Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp877 struct ComplexValue { struct
879 bool IsInt;
882 APSInt IntReal, IntImag;
883 APFloat FloatReal, FloatImag;
885 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() argument
887 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
888 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
889 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
890 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
892 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]