CodeQL library for C/C++
Search

Predicate whitelistedLineForDuplication

Holds if line in f should be allowed to be duplicated. This is the case for #include directives.

Import path

import external.CodeDuplication
predicate whitelistedLineForDuplication(File f, int line)