Update docs/language/ql-training/cpp/program-representation-cpp.rst

Co-Authored-By: shati-patel <42641846+shati-patel@users.noreply.github.com>
This commit is contained in:
James Fletcher
2019-11-06 12:59:45 +00:00
committed by GitHub
parent 24615f2bdb
commit 2e7bd4db6f

View File

@@ -64,7 +64,7 @@ Working with functions
Functions are represented by the Function class. Each declaration or definition of a function is represented by a ``FunctionDeclarationEntry``.
Calls to functions are modeled by CodeQL class ``Call`` and its subclasses:
Calls to functions are modeled by the CodeQL class ``Call`` and its subclasses:
- ``Call.getTarget()`` gets the declared target of the call; undefined for calls through function pointers
- ``Function.getACallToThisFunction()`` gets a call to this function