Skip to content

Moved to libadalang 23 + followed changes #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alire.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "dependency_graph_extractor"
description = "Extract dependency information from Ada projects"
version = "22.0.0"
version = "23.0.0"
licenses = "BSD-3-Clause"
website = "https://github.com/TNO/Dependency_Graph_Extractor-Ada"
tags = ["extract", "dependency", "analysis", "graph", "graphml"]
Expand All @@ -12,4 +12,4 @@ maintainers-logins = ["pjljvandelaar"]
executables = ["dependency_graph_extractor"]

[[depends-on]]
libadalang = "^22.0.0"
libadalang = "^23.0.0"
5 changes: 2 additions & 3 deletions src/extraction-primitive_subps.adb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ with Extraction.Utilities;
package body Extraction.Primitive_Subps is

use type LAL.Analysis_Unit;
use type LALCO.Ada_Node_Kind_Type;

procedure Extract_Nodes
(Node : LAL.Ada_Node'Class; Graph : Graph_Operations.Graph_Context)
is
begin
if Utilities.Is_Relevant_Basic_Decl (Node)
and then Node.Kind = LALCO.Ada_Type_Decl
and then Node.Kind in LALCO.Ada_Type_Decl
then
declare
Type_Decl : constant LAL.Type_Decl := Node.As_Type_Decl;
Expand All @@ -34,7 +33,7 @@ package body Extraction.Primitive_Subps is
is
begin
if Utilities.Is_Relevant_Basic_Decl (Node)
and then Node.Kind = LALCO.Ada_Type_Decl
and then Node.Kind in LALCO.Ada_Type_Decl
then
declare
Type_Decl : constant LAL.Type_Decl := Node.As_Type_Decl;
Expand Down
Loading