HomeSort by relevance Sort by last modified time
    Searched defs:bad_alloc (Results 1 - 5 of 5) sorted by null

  /external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
p2-noexceptions.cpp 4 class bad_alloc { }; class in namespace:std
p2.cpp 17 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/
dr412.cpp 1 // 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
14 inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
15 inline void* operator new[](size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
  /external/clang/test/CXX/except/except.spec/
p3.cpp 98 // 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/
system-header-simulator-cxx.h 68 class bad_alloc : public exception { class in namespace:std
70 bad_alloc() throw();
71 bad_alloc(const bad_alloc&) throw();
72 bad_alloc& operator=(const bad_alloc&) throw();

Completed in 296 milliseconds