diff options
author | Yannick Moy <moy@adacore.com> | 2012-03-30 09:26:59 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-03-30 11:26:59 +0200 |
commit | ce5c2061b4af3befc13438b23dad9ad138783b98 (patch) | |
tree | 08b03c8da7ffae834919fb93cf630e4f4d626687 /gcc/ada/lib-xref.ads | |
parent | 5b0113d67139911a6d51c1232adce252821684eb (diff) | |
download | gcc-ce5c2061b4af3befc13438b23dad9ad138783b98.zip gcc-ce5c2061b4af3befc13438b23dad9ad138783b98.tar.gz gcc-ce5c2061b4af3befc13438b23dad9ad138783b98.tar.bz2 |
lib-xref-alfa.adb, [...]: Minor addition of comments and refactoring.
2012-03-30 Yannick Moy <moy@adacore.com>
* lib-xref-alfa.adb, alloc.ads, lib-xref.ads: Minor addition of
comments and refactoring.
From-SVN: r186004
Diffstat (limited to 'gcc/ada/lib-xref.ads')
-rw-r--r-- | gcc/ada/lib-xref.ads | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ada/lib-xref.ads b/gcc/ada/lib-xref.ads index ecac26f..7bdc158 100644 --- a/gcc/ada/lib-xref.ads +++ b/gcc/ada/lib-xref.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1998-2011, Free Software Foundation, Inc. -- +-- Copyright (C) 1998-2012, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -605,10 +605,13 @@ package Lib.Xref is (CU : Node_Id; Process : Node_Processing; Inside_Stubs : Boolean); - -- This procedure is undocumented ??? + -- Call Process on all declarations in compilation unit CU. If + -- Inside_Stubs is True, then the body of stubs is also traversed. + -- Generic declarations are ignored. procedure Traverse_All_Compilation_Units (Process : Node_Processing); - -- Call Process on all declarations through all compilation units + -- Call Process on all declarations through all compilation units. + -- Generic declarations are ignored. procedure Collect_Alfa (Sdep_Table : Unit_Ref_Table; Num_Sdep : Nat); -- Collect Alfa information from library units (for files and scopes) |