Skip to content

Commit fee7ce6

Browse files
authored
Merge pull request #4221 from rajivshah3/fix/cpp-av-32-include
C++: Allow .inc files to be included
2 parents 903bc00 + f168356 commit fee7ce6

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)