Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dhicpp-exception-baseclass.cpp8 class derived_exception : public std::exception {}; class
9 class deep_hierarchy : public derived_exception {};
11 class terrible_idea : public non_derived_exception, public derived_exception {};
83 throw derived_exception(); // Ok in allowed_throws()
84 } catch (derived_exception &e) { // Ok in allowed_throws()
86 throw derived_exception(); // Ok in allowed_throws()
104 auto GoodLambda = []() { throw derived_exception(); }; in test_lambdas()
147 THROW_EXCEPTION(derived_exception); // Ok in generic_exceptions()
173 throw exotic_exception<derived_exception>(); // Ok in generic_exceptions()
174 THROW_EXCEPTION(exotic_exception<derived_exception>); // Ok in generic_exceptions()
[all …]