/external/clang/test/Modules/Inputs/ |
cxx-decls-unimported.h | 1 void operator delete(void*);
|
/external/clang/test/PCH/Inputs/ |
cxx-method.h | 7 operator const char*(); 8 operator char*();
|
/external/clang/test/SemaCXX/ |
literal-operators.cpp | 6 void operator "" _tag_bad (const char *); // expected-error {{literal operator 'operator "" _tag_bad' must be in a namespace or global scope}} 7 friend void operator "" _tag_good (const char *); 10 namespace ns { void operator "" _ns_good (const char *); } 13 extern "C++" void operator "" _extern_good (const char *); 14 extern "C++" { void operator "" _extern_good (const char *); } 16 void fn () { void operator "" _fn_good (const char *); } 19 void operator "" _good (char); 20 void operator "" _good (wchar_t) [all...] |
member-operator-expr.cpp | 5 int operator++(); 6 operator int(); 13 i = x.operator++(); 14 i = x.operator int(); 15 x.operator--(); // expected-error{{no member named 'operator--'}} 16 x.operator float(); // expected-error{{no member named 'operator float'}} 17 x.operator; // expected-error{{expected a type}} 24 i = x->operator++() [all...] |
overloaded-operator-decl.cpp | 7 X operator+(X, X); 8 X operator-(X, X) { X x; return x; } 11 Y operator-() const; 12 void operator()(int x = 17) const; 13 int operator[](int); 15 static int operator+(Y, Y); // expected-error{{overloaded 'operator+' cannot be a static member function}} 20 x = operator+(x, x); 23 X operator+(int, float); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type} [all...] |
incomplete-call.cpp | 8 A operator()(); // expected-note 2 {{'operator()' declared here}} 9 operator A(); // expected-note {{'operator A' declared here}} 10 A operator!(); // expected-note 2 {{'operator!' declared here}} 11 A operator++(int); // expected-note {{'operator++' declared here}} 12 A operator[](int); // expected-note {{'operator[]' declared here} [all...] |
/external/clang/test/CXX/over/over.oper/over.literal/ |
p3.cpp | 6 char operator "" _a(const char *); 7 char operator "" _a(const char []); 8 char operator "" _a(unsigned long long); 9 char operator "" _a(long double); 10 char operator "" _a(char); 11 char operator "" _a(const volatile char); 12 char operator "" _a(wchar_t); 13 char operator "" _a(char16_t); 14 char operator "" _a(char32_t); 15 char operator "" _a(const char *, size_t) [all...] |
p7.cpp | 4 constexpr int operator "" _a(const char *c) { 8 static_assert(operator "" _a("foo") == 'f', ""); 11 static inline void operator "" _puts(const char *c) { 15 operator "" _puts("foo"); 16 operator "" _puts("bar");
|
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/ |
p1.cpp | 5 void *operator new(size_t); 9 void *operator new(size_t);; // expected-error {{'operator new' cannot be declared inside a namespace}} 12 static void *operator new(size_t); // expected-error {{'operator new' cannot be declared static in global scope}} 15 void operator new(size_t); // expected-error {{'operator new' must return type 'void *'}} 19 void *operator new(); // expected-error {{'operator new' must have at least one parameter}} 23 void *operator new(bool); // expected-error {{'operator new' takes type size_t} [all...] |
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/ |
p1.cpp | 4 void operator delete(void*); 8 void operator delete(void *); // expected-error {{'operator delete' cannot be declared inside a namespace}} 11 static void operator delete(void *); // expected-error {{'operator delete' cannot be declared static in global scope}}
|
/bionic/libstdc++/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/ndk/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
new | 13 void* operator new(std::size_t); 14 void* operator new[](std::size_t); 15 void operator delete(void*); 16 void operator delete[](void*); 17 void* operator new(std::size_t, const std::nothrow_t&); 18 void* operator new[](std::size_t, const std::nothrow_t&); 19 void operator delete(void*, const std::nothrow_t&); 20 void operator delete[](void*, const std::nothrow_t&); 22 inline void* operator new(std::size_t, void* p) { return p; } 23 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
new | 13 void* operator new(std::size_t); 14 void* operator new[](std::size_t); 15 void operator delete(void*); 16 void operator delete[](void*); 17 void* operator new(std::size_t, const std::nothrow_t&); 18 void* operator new[](std::size_t, const std::nothrow_t&); 19 void operator delete(void*, const std::nothrow_t&); 20 void operator delete[](void*, const std::nothrow_t&); 22 inline void* operator new(std::size_t, void* p) { return p; } 23 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
new | 13 void* operator new(std::size_t); 14 void* operator new[](std::size_t); 15 void operator delete(void*); 16 void operator delete[](void*); 17 void* operator new(std::size_t, const std::nothrow_t&); 18 void* operator new[](std::size_t, const std::nothrow_t&); 19 void operator delete(void*, const std::nothrow_t&); 20 void operator delete[](void*, const std::nothrow_t&); 22 inline void* operator new(std::size_t, void* p) { return p; } 23 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
new | 12 void* operator new(std::size_t); 13 void* operator new[](std::size_t); 14 void operator delete(void*); 15 void operator delete[](void*); 16 void* operator new(std::size_t, const std::nothrow_t&); 17 void* operator new[](std::size_t, const std::nothrow_t&); 18 void operator delete(void*, const std::nothrow_t&); 19 void operator delete[](void*, const std::nothrow_t&); 21 inline void* operator new(std::size_t, void* p) { return p; } 22 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
new | 13 void* operator new(std::size_t); 14 void* operator new[](std::size_t); 15 void operator delete(void*); 16 void operator delete[](void*); 17 void* operator new(std::size_t, const std::nothrow_t&); 18 void* operator new[](std::size_t, const std::nothrow_t&); 19 void operator delete(void*, const std::nothrow_t&); 20 void operator delete[](void*, const std::nothrow_t&); 22 inline void* operator new(std::size_t, void* p) { return p; } 23 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
new | 12 void* operator new(std::size_t); 13 void* operator new[](std::size_t); 14 void operator delete(void*); 15 void operator delete[](void*); 16 void* operator new(std::size_t, const std::nothrow_t&); 17 void* operator new[](std::size_t, const std::nothrow_t&); 18 void operator delete(void*, const std::nothrow_t&); 19 void operator delete[](void*, const std::nothrow_t&); 21 inline void* operator new(std::size_t, void* p) { return p; } 22 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/5/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/6/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/7/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/8/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/prebuilts/ndk/9/sources/cxx-stl/system/include/ |
new | 14 void* operator new(std::size_t); 15 void* operator new[](std::size_t); 16 void operator delete(void*); 17 void operator delete[](void*); 18 void* operator new(std::size_t, const std::nothrow_t&); 19 void* operator new[](std::size_t, const std::nothrow_t&); 20 void operator delete(void*, const std::nothrow_t&); 21 void operator delete[](void*, const std::nothrow_t&); 23 inline void* operator new(std::size_t, void* p) { return p; } 24 inline void* operator new[](std::size_t, void* p) { return p; [all...] |
/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p2.cpp | 6 int a = 123_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with argument of type 'unsigned long long' or 'const char *', and no matching literal operator template}} 7 int b = 4.2_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with argument of type 'long double' or 'const char *', and no matching literal operator template}} 8 int c = "foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const char *' and 'unsigned}} 9 int d = L"foo"_x; // expected-error {{no matching literal operator for call to 'operator "" _x' with arguments of types 'const wchar_t *' and 'unsigned} [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.mem/ |
p5.cpp | 3 template <class T> operator T*(); 6 template <class T> A::operator T*() { return 0; } 7 template <> A::operator char*(){ return 0; } // specialization 8 template A::operator void*(); // explicit instantiation 13 ip = a.operator int*(); 22 template <class T> operator T(); 26 s.operator A<A<int> >(); 27 s.operator A<B<int> >(); 28 s.operator A<B<A<int> > >(); 35 template <typename T> operator T() [all...] |