mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C++: deprecate Declaration::isDefined()
This commit is contained in:
@@ -161,6 +161,7 @@ abstract class Declaration extends Locatable, @declaration {
|
||||
/** Holds if the declaration has a definition. */
|
||||
predicate hasDefinition() { exists(this.getDefinition()) }
|
||||
|
||||
/** DEPRECATED: Use `hasDefinition` instead. */
|
||||
predicate isDefined() { hasDefinition() }
|
||||
|
||||
/** Gets the preferred location of this declaration, if any. */
|
||||
|
||||
Reference in New Issue
Block a user