Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:re

166   // cast functions cannot be called, even if they're constexpr.
982 int re, im;
984 constexpr complex(int re = 0, int im = 0) : re(re), im(im) {}
985 constexpr complex(const complex &o) : re(o.re), im(o.im) {}
986 constexpr complex operator-() const { return complex(-re, -im); }
988 return complex(l.re + r.re, l.im + r.im);
994 return complex(l.re * r.re - l.im * r.im, l.re * r.im + l.im * r.re);
997 return l.re == r.re && l.im == r.im;
1000 return re != r.re || im != r.im;
1002 constexpr int real() const { return re; }
1018 constexpr complex makeComplex(int re, int im) { return complex(re, im); }
1024 constexpr complex_wrap(int re, int im = 0) : complex(re, im) {}
1032 constexpr complex_wrap makeComplexWrap(int re, int im) {
1033 return complex_wrap(re, im);
1286 // pointer to it. This is OK: we're not required to treat this as a constant
1452 // FIXME: It's unclear whether this is valid. On the one hand, we're not