Searched refs:operator (Results 26 - 50 of 2465) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dconv1.C5 const operator int (); // ERROR - invalid declaration.
H A Dexpr1.C6 int operator()(int) { } // ERROR - candidate
10 T()(); // ERROR - no such operator
H A Dambig1.C4 int operator ++(); // ERROR - candidates
5 void operator ()(); // ERROR - candidates
6 void operator delete(void*); // ERROR - candidates
10 int operator ++(int); // ERROR - candidates
11 void operator ()(); // ERROR - candidates
12 void operator delete(void*); // ERROR - candidates
H A Ddelete6.C11 static void* operator new(size_t)
14 inline static void operator delete(void*p);
16 static void operator delete(void*, const B&){}
21 inline void A::operator delete(void*p)
22 {A::operator delete(p,B());}
H A Doverload7.C12 operator pfn () { return one; }
13 operator pfn () const { return zero; }
14 operator pfn () volatile { return two; }
H A Ddelete4.C8 // operator new functions can only return NULL, if their exceptions
14 void *operator new(size_t)
18 void *operator new[](size_t)
25 void *operator new(size_t)
29 void *operator new[](size_t)
37 void *operator new(size_t) throw()
41 void *operator new[](size_t) throw()
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Doperators6.C5 a* operator->() { return this; }
10 operator->();
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Daccess11.C7 operator int * () const;
11 int * foo () { return A::operator int *(); }
H A Ddelete1.C3 virtual void operator delete (void *); // ERROR - virtual delete
4 virtual void * operator new (size_t); // ERROR - virtual new
H A Dopover.C1 // Bug: g++ prefers a non-matching operator== over user-defined conversions
2 // and a default operator==.
6 operator int ();
10 friend int operator== (B, int);
H A Dwarning9.C4 operator int ();
5 A& operator= (int);
H A Doverload.C5 void operator+ (int, int);// ERROR - .*
6 void operator+ (bar&, int);
8 template <class T> void operator+ (int b, T& t) { return b; }
9 void operator+ (int, bar&);
14 friend void operator+ <> (int, T&);
H A Doverload23.C3 // Subject: Problem with operator overloading
9 ostream& operator<<(double n);
10 ostream& operator<<(float n);
16 operator long() const;
17 operator double() const;
19 ostream& operator<< (ostream& os, const X& x);
H A Doverload35.C7 operator int *();
8 operator const int *() const;
14 operator const int *() const;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Doperator1.C7 template <class U> void operator= (U);
11 void Example::operator=<double> (double);
H A Dmemtemp10.C7 operator T*();
12 S::operator T*()
23 char* cp = s.operator char*();
H A Dnested2.C7 T operator()();
13 T a<T>::b::operator()() { return T(0); }
15 template<> int a<int>::b::operator()() { return 1; }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb8.C4 operator <<(const void *); //ERROR - no return type
5 operator <<(char *); //ERROR - no return type
H A Deb22.C10 operator int() const {return 2;}
13 bool operator==(const MyInt& a, const int& b)
18 bool operator==(const MyInt& a, const MyInt& b)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dif-oppr.c3 /* Test the full range of preprocessor operator precedence. Each
4 operator is tested with one of immediately higher precedence to
33 #error operator ?: has higher precedence than operator ||
39 #error operator || has higher precedence than operator &&
44 #error operator && has higher precedence than operator |
50 #error operator | has higher precedence than operator
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/IR/
H A DDiagnosticPrinter.h36 virtual DiagnosticPrinter &operator<<(char C) = 0;
37 virtual DiagnosticPrinter &operator<<(unsigned char C) = 0;
38 virtual DiagnosticPrinter &operator<<(signed char C) = 0;
39 virtual DiagnosticPrinter &operator<<(StringRef Str) = 0;
40 virtual DiagnosticPrinter &operator<<(const char *Str) = 0;
41 virtual DiagnosticPrinter &operator<<(const std::string &Str) = 0;
42 virtual DiagnosticPrinter &operator<<(unsigned long N) = 0;
43 virtual DiagnosticPrinter &operator<<(long N) = 0;
44 virtual DiagnosticPrinter &operator<<(unsigned long long N) = 0;
45 virtual DiagnosticPrinter &operator<<(lon
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/abi/
H A Dmangle8.C2 // Bug: We were encoding the name of the instantiation as 'operator int'
3 // rather than 'operator T'.
8 operator T ();
12 C::operator T () { return 0; }
14 template C::operator int ();
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/init/
H A Dref8.C2 A operator=(const A&);
5 A operator*(A, A);
7 A& operator+=(A& a, const A& b)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/other/
H A Derror2.C10 class B { friend void operator>>(int, class B); };
11 class N { friend void operator>>(int,class N); };
13 void N::operator>>(int, N::B) // { dg-error "no type `B' in `N::N'" "" }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/conversion/
H A Dop2.C4 operator int & ();
5 operator const int & () const;

Completed in 205 milliseconds

1234567891011>>