C++: add .def to exceptions to AV rule 32

This is used as textual includes in several projects for macro
metaprogramming, for example in `llvm-project` and in `swift` (and since
some time in our internal codebase as well).
This commit is contained in:
Paolo Tranquilli
2024-01-09 15:18:13 +01:00
parent 0bc1463ab0
commit 270df940ff

View File

@@ -18,6 +18,7 @@ from Include i, File f, string extension
where
f = i.getIncludedFile() and
extension = f.getExtension().toLowerCase() and
extension != "def" and
extension != "inc" and
extension != "inl" and
extension != "tcc" and