svf-lib 1.0.2249 → 1.0.2251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,4 +18,23 @@ jobs:
|
|
|
18
18
|
cat package.json
|
|
19
19
|
npm publish
|
|
20
20
|
env:
|
|
21
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
21
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
22
|
+
trigger-svf-python:
|
|
23
|
+
if: github.event_name == 'push' # Only run on push events
|
|
24
|
+
needs: build
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- name: Trigger SVF-Python workflow
|
|
28
|
+
uses: actions/github-script@v7
|
|
29
|
+
with:
|
|
30
|
+
github-token: ${{ secrets.WORKFLOW_PAT }}
|
|
31
|
+
script: |
|
|
32
|
+
await github.rest.actions.createWorkflowDispatch({
|
|
33
|
+
owner: 'SVF-tools',
|
|
34
|
+
repo: 'SVF-Python',
|
|
35
|
+
workflow_id: 'release.yml',
|
|
36
|
+
ref: 'main',
|
|
37
|
+
inputs: {
|
|
38
|
+
triggered_by: 'SVF-npm'
|
|
39
|
+
}
|
|
40
|
+
})
|
|
@@ -323,12 +323,14 @@ class SVFFunctionType : public SVFType
|
|
|
323
323
|
|
|
324
324
|
private:
|
|
325
325
|
const SVFType* retTy;
|
|
326
|
+
std::vector<const SVFType*> params;
|
|
326
327
|
|
|
327
328
|
public:
|
|
328
|
-
SVFFunctionType(const SVFType* rt)
|
|
329
|
-
: SVFType(false, SVFFunctionTy, 1), retTy(rt)
|
|
329
|
+
SVFFunctionType(const SVFType* rt, const std::vector<const SVFType*>& p)
|
|
330
|
+
: SVFType(false, SVFFunctionTy, 1), retTy(rt), params(p)
|
|
330
331
|
{
|
|
331
332
|
}
|
|
333
|
+
|
|
332
334
|
static inline bool classof(const SVFType* node)
|
|
333
335
|
{
|
|
334
336
|
return node->getKind() == SVFFunctionTy;
|
|
@@ -338,6 +340,11 @@ public:
|
|
|
338
340
|
return retTy;
|
|
339
341
|
}
|
|
340
342
|
|
|
343
|
+
const std::vector<const SVFType*>& getParamTypes() const
|
|
344
|
+
{
|
|
345
|
+
return params;
|
|
346
|
+
}
|
|
347
|
+
|
|
341
348
|
void print(std::ostream& os) const override;
|
|
342
349
|
};
|
|
343
350
|
|
|
Binary file
|
|
Binary file
|