Skip to content

Commit 696cbea

Browse files
committed
C++: Add _Exit to the list of exiting (non-returning) functions
1 parent 30e5e74 commit 696cbea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/DefaultOptions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Options extends string {
6262
f.getASpecifier().hasName("noreturn")
6363
or
6464
f.hasGlobalOrStdName([
65-
"exit", "_exit", "abort", "__assert_fail", "longjmp", "__builtin_unreachable"
65+
"exit", "_exit", "_Exit", "abort", "__assert_fail", "longjmp", "__builtin_unreachable"
6666
])
6767
or
6868
CustomOptions::exits(f) // old Options.qll

0 commit comments

Comments
 (0)