mirror of
https://github.com/github/codeql.git
synced 2025-12-27 14:16:34 +01:00
9 lines
333 B
Plaintext
9 lines
333 B
Plaintext
import cpp
|
|
|
|
from Expr e, string pure, string impure, string globalimpure
|
|
where
|
|
if e.isPure() then pure = "isPure" else pure = "" and
|
|
if e.mayBeImpure() then impure = "mayBeImpure" else impure = "" and
|
|
if e.mayBeGloballyImpure() then globalimpure = "mayBeGloballyImpure" else globalimpure = ""
|
|
select e, pure, impure, globalimpure
|