Home | History | Annotate | Download | only in Analysis

Lines Matching defs:new

9 // This is the standard placement new.
10 inline void* operator new(size_t, void* __p) throw()
16 void *operator new(size_t) throw();
20 void *operator new(size_t) noexcept;
24 void *operator new(size_t);
28 void *operator new(size_t) throw(int);
32 clang_analyzer_eval(new NoThrow); // expected-warning{{UNKNOWN}}
33 clang_analyzer_eval(new NoExcept); // expected-warning{{UNKNOWN}}
35 clang_analyzer_eval(new DefaultThrow);
36 clang_analyzer_eval(new ExplicitThrow);
47 clang_analyzer_eval(new NoThrow[2]);
48 clang_analyzer_eval(new NoExcept[2]);
49 clang_analyzer_eval(new DefaultThrow[2]);
50 clang_analyzer_eval(new ExplicitThrow[2]);
64 extern void *operator new[](size_t, int) noexcept;
67 clang_analyzer_eval(new (1) NoThrow[2]); // expected-warning{{UNKNOWN}}
68 clang_analyzer_eval(new (1) NoExcept[2]); // expected-warning{{UNKNOWN}}
69 clang_analyzer_eval(new (1) DefaultThrow[2]); // expected-warning{{UNKNOWN}}
70 clang_analyzer_eval(new (1) ExplicitThrow[2]); // expected-warning{{UNKNOWN}}