mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C++: Add comment to FunctionNode.
This commit is contained in:
@@ -546,6 +546,8 @@ class FunctionNode extends ASTNode {
|
||||
}
|
||||
|
||||
override string getChildAccessorPredicate(int childIndex) {
|
||||
// all other children of this node are not reachable via the AST `getChild` relation
|
||||
// or other getters. Thus, this predicate does not hold for them.
|
||||
childIndex = 2 and
|
||||
result = "getEntryPoint()"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user