Searched defs:bad_alloc (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
H A Dp2-noexceptions.cpp4 class bad_alloc { }; class in namespace:std
H A Dp2.cpp17 class bad_alloc { }; class in namespace:std
22 void* operator new(std::size_t) throw(std::bad_alloc); // expected-note{{previous declaration}}
23 void* operator new[](std::size_t) throw(std::bad_alloc);
27 void* operator new(std::size_t); // expected-warning{{'operator new' is missing exception specification 'throw(std::bad_alloc)'}}
/external/clang/test/CXX/drs/
H A Ddr412.cpp1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT="throw()" -DBAD_ALLOC="throw(std::bad_alloc)"
11 namespace std { struct bad_alloc {}; } struct in namespace:std
/external/clang/test/CXX/except/except.spec/
H A Dp3.cpp98 // with a throw(bad_alloc) spec, because C++0x makes an incompatible change
100 extern "C++" { namespace std { class bad_alloc {}; } } class in namespace:std
102 void* operator new(mysize_t) throw(std::bad_alloc);
105 void* operator new[](mysize_t) throw(std::bad_alloc);
/external/stlport/stlport/stl/
H A D_new.h71 * STLport own bad_alloc exception to be used if the native C++ library
75 class bad_alloc : public exception { class in inherits:exception
77 bad_alloc () _STLP_NOTHROW_INHERENTLY { }
78 bad_alloc(const bad_alloc&) _STLP_NOTHROW_INHERENTLY { }
79 bad_alloc& operator=(const bad_alloc&) _STLP_NOTHROW_INHERENTLY {return *this;}
80 ~bad_alloc () _STLP_NOTHROW_INHERENTLY { }
93 using _STLP_VENDOR_EXCEPT_STD::bad_alloc;
118 # define _STLP_THROW_BAD_ALLOC _STLP_THROW(_STLP_STD::bad_alloc())
[all...]
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h65 class bad_alloc : public exception { class in namespace:std
67 bad_alloc() throw();
68 bad_alloc(const bad_alloc&) throw();
69 bad_alloc& operator=(const bad_alloc&) throw();

Completed in 1039 milliseconds