File tree 2 files changed +10
-2
lines changed
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
21
21
22
22
from Function f
23
23
where
24
- not isExcluded ( f , Exceptions1Package:: missingNoExceptQuery ( ) ) and
24
+ not isExcluded ( f . getADeclarationEntry ( ) , Exceptions1Package:: missingNoExceptQuery ( ) ) and
25
25
// No thrown exceptions
26
26
not exists ( getAFunctionThrownType ( f , _) ) and
27
27
// 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(
56
56
s3.append (s1.c_str (), s1.size ());
57
57
s3.append (s2.c_str (), s2.size ());
58
58
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