Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExprConstant.cpp1028 struct ComplexValue { struct
1030 bool IsInt;
1033 APSInt IntReal, IntImag;
1034 APFloat FloatReal, FloatImag;
1036 ComplexValue() : FloatReal(APFloat::Bogus), FloatImag(APFloat::Bogus) {} in ComplexValue() function
1038 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
1039 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
1040 APFloat &getComplexFloatReal() { return FloatReal; } in getComplexFloatReal()
1041 APFloat &getComplexFloatImag() { return FloatImag; } in getComplexFloatImag()
1043 void makeComplexInt() { IsInt = true; } in makeComplexInt()
[all …]