mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Apply suggestions from code review
Co-authored-by: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
This commit is contained in:
@@ -122,7 +122,7 @@ module API {
|
||||
* source level.
|
||||
*
|
||||
* This predicate may have multiple results when there are multiple constructor calls invoking this API component.
|
||||
* Consider using `getAnInstantiation()` if there is a need to distingiush between individual constructor calls.
|
||||
* Consider using `getAnInstantiation()` if there is a need to distinguish between individual constructor calls.
|
||||
*/
|
||||
Node getInstance() { result = getASuccessor(Label::instance()) }
|
||||
|
||||
@@ -833,7 +833,7 @@ module API {
|
||||
result.getARhs() = getArgument(i)
|
||||
}
|
||||
|
||||
/** Gets the API node a parameter of this invocation. */
|
||||
/** Gets the API node for a parameter of this invocation. */
|
||||
Node getAParameter() { result = getParameter(_) }
|
||||
|
||||
/** Gets the API node for the last parameter of this invocation. */
|
||||
|
||||
Reference in New Issue
Block a user