Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils-sfg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils-sfg
Commits
b87be486
Commit
b87be486
authored
3 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
always include cstdint for kernels
parent
73ead40a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!17
Improved Source File and Code Structure Modelling
Pipeline
#73678
passed
3 months ago
Stage: Code Quality
Stage: Tests
Stage: Documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencilssfg/ir/analysis.py
+5
-3
5 additions, 3 deletions
src/pystencilssfg/ir/analysis.py
with
5 additions
and
3 deletions
src/pystencilssfg/ir/analysis.py
+
5
−
3
View file @
b87be486
...
@@ -73,9 +73,11 @@ def collect_includes(file: SfgSourceFile) -> set[HeaderFile]:
...
@@ -73,9 +73,11 @@ def collect_includes(file: SfgSourceFile) -> set[HeaderFile]:
case
SfgEntityDef
(
entity
):
case
SfgEntityDef
(
entity
):
match
entity
:
match
entity
:
case
SfgKernelHandle
(
kernel
,
_
):
case
SfgKernelHandle
(
kernel
,
_
):
return
set
(
return
(
HeaderFile
.
parse
(
h
)
for
h
in
kernel
.
required_headers
set
(
HeaderFile
.
parse
(
h
)
for
h
in
kernel
.
required_headers
)
)
|
visit_decl
(
entity
)
|
{
HeaderFile
.
parse
(
"
<cstdint>
"
)}
|
visit_decl
(
entity
)
)
case
SfgFunction
(
_
,
tree
,
_
)
|
SfgMethod
(
_
,
tree
,
_
):
case
SfgFunction
(
_
,
tree
,
_
)
|
SfgMethod
(
_
,
tree
,
_
):
return
walk_syntax
(
tree
)
|
visit_decl
(
entity
)
return
walk_syntax
(
tree
)
|
visit_decl
(
entity
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment