Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Analysis/
H A 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()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A DU.pass.cpp35 struct ExplicitThrow struct
37 constexpr explicit ExplicitThrow(int x) { if (x != -1) TEST_THROW(6);} in ExplicitThrow() function
142 using T = ExplicitThrow; in test_explicit()