Skip to content

Commit f168356

Browse files
committed
C++: Allow .inc files to be included
1 parent 22b3b0a commit f168356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/jsf/4.06 Pre-Processing Directives/AV Rule 32.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ from Include i, File f, string extension
1818
where
1919
f = i.getIncludedFile() and
2020
extension = f.getExtension().toLowerCase() and
21+
extension != "inc" and
2122
extension != "inl" and
2223
extension != "tcc" and
2324
extension != "tpp" and

0 commit comments

Comments
 (0)