Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp1505 struct ComplexValue { struct
1507 bool IsInt;
1510 APSInt IntReal, IntImag;
1511 APFloat FloatReal, FloatImag;
1513 ComplexValue() : FloatReal(APFloat::Bogus()), FloatImag(APFloat::Bogus()) {} in ComplexValue() argument
1515 void makeComplexFloat() { IsInt = false; } in makeComplexFloat()
1516 bool isComplexFloat() const { return !IsInt; } in isComplexFloat()
1520 void makeComplexInt() { IsInt = true; } in makeComplexInt()
1521 bool isComplexInt() const { return IsInt; } in isComplexInt()
1525 void moveInto(APValue &v) const { in moveInto()
[all …]