Home
last modified time | relevance | path

Searched refs:ExplicitThrow (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/Analysis/
Dnew-with-exceptions.cpp27 struct ExplicitThrow { struct
36 clang_analyzer_eval(new ExplicitThrow); // expected-warning{{TRUE}} in testNew()
43 clang_analyzer_eval(new ExplicitThrow[2]); // expected-warning{{TRUE}} in testNewArray()
52 clang_analyzer_eval(new (1) ExplicitThrow[2]); // expected-warning{{UNKNOWN}} in testNewArrayNoThrow()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
DU.pass.cpp41 struct ExplicitThrow struct
43 constexpr explicit ExplicitThrow(int x) { if (x != -1) TEST_THROW(6);} in ExplicitThrow() function
148 using T = ExplicitThrow; in test_explicit()