Skip to content

Commit 7abf950

Browse files
committed
lkql_checker: rename Spawn_Gnatcheck_Worker to Spawn_Checker_Worker
1 parent 0ad216f commit 7abf950

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

lkql_checker/src/lkql_checker-compiler.adb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,11 +1717,11 @@ package body Lkql_Checker.Compiler is
17171717
end if;
17181718
end Set_Compiler_Checks;
17191719

1720-
----------------------------
1721-
-- Spawn_Gnatcheck_Worker --
1722-
----------------------------
1720+
--------------------------
1721+
-- Spawn_Checker_Worker --
1722+
--------------------------
17231723

1724-
function Spawn_Gnatcheck_Worker
1724+
function Spawn_Checker_Worker
17251725
(Rule_File : String;
17261726
Msg_File : String;
17271727
Source_File : String;
@@ -1855,7 +1855,7 @@ package body Lkql_Checker.Compiler is
18551855
end loop;
18561856

18571857
return Pid;
1858-
end Spawn_Gnatcheck_Worker;
1858+
end Spawn_Checker_Worker;
18591859

18601860
-----------------------------------
18611861
-- Spawn_LKQL_Rule_Config_Parser --

lkql_checker/src/lkql_checker-compiler.ads

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,15 @@ package Lkql_Checker.Compiler is
155155
-- format of restriction rules and places the output into the specified
156156
-- file that is supposed to be an opened out file.
157157

158-
function Spawn_Gnatcheck_Worker
158+
function Spawn_Checker_Worker
159159
(Rule_File : String;
160160
Msg_File : String;
161161
Source_File : String;
162162
Log_File : String) return Process_Id;
163-
-- Spawn a gnatcheck worker (LKQL) on the main project file with the
164-
-- relevant options on the rules given by Rule_File, redirecting the
165-
-- output to Msg_File. Source_File is the name of a file listing all the
166-
-- source files to analyze. Log_File is the name of a file used to store
167-
-- worker's logs.
163+
-- Spawn a worker (LKQL) on the main project file with the relevant options
164+
-- on the rules given by Rule_File, redirecting the output to Msg_File.
165+
-- Source_File is the name of a file listing all the source files to
166+
-- analyze. Log_File is the name of a file used to store worker's logs.
168167

169168
function Spawn_LKQL_Rule_File_Parser
170169
(LKQL_RF_Name : String; Result_File : String) return Process_Id;

lkql_checker/src/main.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ procedure Main is
354354
-- -files=files?.txt
355355

356356
Pids (Job) :=
357-
Spawn_Gnatcheck_Worker
357+
Spawn_Checker_Worker
358358
(File_Name ("rules", 0),
359359
File_Name ("out", Job),
360360
File_Name ("files", Job),

0 commit comments

Comments
 (0)