Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
01e17342
Commit
01e17342
authored
Jul 13, 2009
by
Robert Dewar
Committed by
Arnaud Charlet
Jul 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformatting.
From-SVN: r149547
parent
fb2e11ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ada/ChangeLog
+1
-1
gcc/ada/prj.adb
+10
-1
gcc/ada/sem_res.adb
+1
-1
No files found.
gcc/ada/ChangeLog
View file @
01e17342
...
...
@@ -12,7 +12,7 @@
*
freeze
.
adb
:
Minor
reformatting
Minor
code
reorganization
(
use
Nkind_In
)
*
exp_ch6
.
adb
:
Minor
reformatting
*
exp_ch6
.
adb
,
prj
.
adb
,
sem_res
.
adb
:
Minor
reformatting
2009
-
07
-
11
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
...
...
gcc/ada/prj.adb
View file @
01e17342
...
...
@@ -479,13 +479,18 @@ package body Prj is
In_Imported_Only : Boolean;
Base_Name : File_Name_Type) return Source_Id
is
Result
: Source_Id := No_Source;
Result : Source_Id := No_Source;
procedure Look_For_Sources (Proj : Project_Id; Src : in out Source_Id);
-- Look for Base_Name in the sources of Proj
----------------------
-- Look_For_Sources --
----------------------
procedure Look_For_Sources (Proj : Project_Id; Src : in out Source_Id) is
Iterator : Source_Iterator;
begin
Iterator := For_Each_Source (In_Tree => In_Tree, Project => Proj);
while Element (Iterator) /= No_Source loop
...
...
@@ -493,6 +498,7 @@ package body Prj is
Src := Element (Iterator);
return;
end if;
Next (Iterator);
end loop;
end Look_For_Sources;
...
...
@@ -500,9 +506,12 @@ package body Prj is
procedure For_Imported_Projects is new For_Every_Project_Imported
(State => Source_Id, Action => Look_For_Sources);
-- Start of processing for Find_Source
begin
if In_Imported_Only then
Look_For_Sources (Project, Result);
if Result = No_Source then
For_Imported_Projects
(By => Project,
...
...
gcc/ada/sem_res.adb
View file @
01e17342
...
...
@@ -7600,7 +7600,7 @@ package body Sem_Res is
--
Generate
cross
-
reference
.
We
needed
to
wait
until
full
overloading
--
resolution
was
complete
to
do
this
,
since
otherwise
we
can
't tell if
-- we are an lvalue o
f
not.
-- we are an lvalue o
r
not.
if May_Be_Lvalue (N) then
Generate_Reference (Entity (S), S, '
m
');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment