Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp1508 struct ComplexValue { struct
1510 bool IsInt;
1513 APSInt IntReal, IntImag;
1514 APFloat FloatReal, FloatImag;
1516 ComplexValue() : FloatReal(APFloat::Bogus()), FloatImag(APFloat::Bogus()) {} in ComplexValue() argument
1518 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
1519 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
1520 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
1521 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
1523 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]