File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import codingstandards.cpp.exceptions.ExceptionFlow
2121
2222from Function f
2323where
24- not isExcluded ( f , Exceptions1Package:: missingNoExceptQuery ( ) ) and
24+ not isExcluded ( f . getADeclarationEntry ( ) , Exceptions1Package:: missingNoExceptQuery ( ) ) and
2525 // No thrown exceptions
2626 not exists ( getAFunctionThrownType ( f , _) ) and
2727 // But not marked noexcept(true)
Original file line number Diff line number Diff line change @@ -56,4 +56,12 @@ std::string test_fp_reported_in_424(
5656 s3.append (s1.c_str (), s1.size ());
5757 s3.append (s2.c_str (), s2.size ());
5858 return s3;
59- }
59+ }
60+
61+ void test_no_except_deviated_decl (); // a-15-4-4-deviation
62+
63+ void test_no_except_deviated_decl () {}
64+
65+ void test_no_except_deviated_defn ();
66+
67+ void test_no_except_deviated_defn () {} // a-15-4-4-deviation
You can’t perform that action at this time.
0 commit comments