mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Rust: Auto-generate CfgNodes.qll
This commit is contained in:
@@ -53,6 +53,7 @@ def _get_class(cls: type) -> schema.Class:
|
||||
bases=[b.__name__ for b in cls.__bases__ if b is not object],
|
||||
derived=derived,
|
||||
pragmas=pragmas,
|
||||
cfg=cls.__cfg__ if hasattr(cls, "__cfg__") else False,
|
||||
# in the following we don't use `getattr` to avoid inheriting
|
||||
properties=[
|
||||
a | _PropertyNamer(n)
|
||||
|
||||
Reference in New Issue
Block a user