mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update cpp/ql/test/library-tests/types/sizeof/sizeof.ql
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d4a8dbb5f3
commit
6b136e3a53
@@ -2,7 +2,7 @@ import cpp
|
|||||||
|
|
||||||
from SizeofOperator sto, string elemDesc, Element e
|
from SizeofOperator sto, string elemDesc, Element e
|
||||||
where
|
where
|
||||||
elemDesc = "SizeofTypeOperator.getTypeOperand()" and
|
elemDesc = "SizeofOperator.getTypeOperand()" and
|
||||||
e = sto.(SizeofOperator).getTypeOperand()
|
e = sto.(SizeofOperator).getTypeOperand()
|
||||||
or
|
or
|
||||||
elemDesc = "SizeofExprOperator.getExprOperand()" and
|
elemDesc = "SizeofExprOperator.getExprOperand()" and
|
||||||
|
|||||||
Reference in New Issue
Block a user