Searched defs:bad_alloc (Results 1 - 5 of 5) 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)"
12 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/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 151 milliseconds