CodeQL library for C/C++
Search

Predicate functionContainsPreprocCode

Holds if the function f contains code that could be excluded by the preprocessor.

Import path

import semmle.code.cpp.commons.Exclusions
predicate functionContainsPreprocCode(Function f)