зеркало из https://github.com/github/codeql.git
C++ IR: Remove unused predicate
This commit is contained in:
Родитель
aab6c072c7
Коммит
b4b940ae50
|
@ -1,14 +1,5 @@
|
|||
private import cpp
|
||||
|
||||
private predicate fieldIsInitialized(Field field) {
|
||||
exists(ClassAggregateLiteral initList |
|
||||
initList.isInitialized(field)
|
||||
) or
|
||||
exists(ConstructorFieldInit init |
|
||||
field = init.getTarget()
|
||||
)
|
||||
}
|
||||
|
||||
newtype TInstructionTag =
|
||||
OnlyInstructionTag() or // Single instruction (not including implicit Load)
|
||||
InitializeThisTag() or
|
||||
|
|
Загрузка…
Ссылка в новой задаче