mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C++: Delete confusing class synonym.
This commit is contained in:
@@ -2292,7 +2292,7 @@ class ContentSet instanceof Content {
|
|||||||
|
|
||||||
pragma[nomagic]
|
pragma[nomagic]
|
||||||
private predicate guardControlsPhiInput(
|
private predicate guardControlsPhiInput(
|
||||||
IRGuardCondition g, boolean branch, Ssa::Definition def, IRBlock input, Ssa::PhiNode phi
|
IRGuardCondition g, boolean branch, Ssa::DefinitionExt def, IRBlock input, Ssa::PhiNode phi
|
||||||
) {
|
) {
|
||||||
phi.hasInputFromBlock(def, _, _, _, input) and
|
phi.hasInputFromBlock(def, _, _, _, input) and
|
||||||
(
|
(
|
||||||
|
|||||||
@@ -1059,7 +1059,7 @@ module SsaCached {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cached
|
cached
|
||||||
Definition phiHasInputFromBlockExt(PhiNode phi, IRBlock bb) {
|
DefinitionExt phiHasInputFromBlockExt(PhiNode phi, IRBlock bb) {
|
||||||
SsaImpl::phiHasInputFromBlockExt(phi, result, bb)
|
SsaImpl::phiHasInputFromBlockExt(phi, result, bb)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,12 +1116,12 @@ class PhiNode extends SsaImpl::DefinitionExt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Gets a definition that is an input to this phi node. */
|
/** Gets a definition that is an input to this phi node. */
|
||||||
final Definition getAnInput() { this.hasInputFromBlock(result, _, _, _, _) }
|
final DefinitionExt getAnInput() { this.hasInputFromBlock(result, _, _, _, _) }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** An static single assignment (SSA) definition. */
|
/** An static single assignment (SSA) definition. */
|
||||||
class DefinitionExt extends SsaImpl::DefinitionExt {
|
class DefinitionExt extends SsaImpl::DefinitionExt {
|
||||||
private Definition getAPhiInputOrPriorDefinition() { result = this.(PhiNode).getAnInput() }
|
private DefinitionExt getAPhiInputOrPriorDefinition() { result = this.(PhiNode).getAnInput() }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a definition that ultimately defines this SSA definition and is
|
* Gets a definition that ultimately defines this SSA definition and is
|
||||||
@@ -1182,6 +1182,4 @@ class DefinitionExt extends SsaImpl::DefinitionExt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Definition = SsaImpl::Definition;
|
|
||||||
|
|
||||||
import SsaCached
|
import SsaCached
|
||||||
|
|||||||
Reference in New Issue
Block a user