CodeQL library for C/C++
codeql/cpp-all 0.13.0 (changelog, source)
Search

Predicate dependsOnDeclOnly

A simple dependency from src to a declaration dest, where the definition is not needed at compile time.

Import path

import semmle.code.cpp.commons.Dependency
predicate dependsOnDeclOnly(Element src, Element dest)