Home
last modified time | relevance | path

Searched refs:ExplicitThrow (Results 1 – 4 of 4) 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/llvm-project/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/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
DU.pass.cpp38 struct ExplicitThrow struct
40 constexpr explicit ExplicitThrow(int x) { if (x != -1) TEST_THROW(6);} in ExplicitThrow() argument
145 using T = ExplicitThrow; in test_explicit()
/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() argument
148 using T = ExplicitThrow; in test_explicit()