Commit d4144a1
committed
SC_Obligations: rework the scopes querying API
Exactly one set of subprograms of interest is ever used: the set for
--subprograms command line arguments. Remove Is_Active's corresponding
argument and always use the set at Switches.Subps_Of_Interest instead.
This also opens the way to more efficient ways to check whether the
current SCO is covered by a scope that matches --subprograms.
Also rename Is_Active to avoid the confusion with the
Active_Scopes/Active_Scope_Ent components (which can contain scopes that
are *not* active according to --subprograms arguments).1 parent d1ffb4f commit d4144a1
File tree
4 files changed
+12
-15
lines changed- tools/gnatcov
4 files changed
+12
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2003 | 2003 | | |
2004 | 2004 | | |
2005 | 2005 | | |
2006 | | - | |
| 2006 | + | |
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
760 | | - | |
761 | | - | |
762 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
763 | 763 | | |
764 | | - | |
765 | | - | |
766 | | - | |
| 764 | + | |
767 | 765 | | |
768 | 766 | | |
769 | 767 | | |
770 | 768 | | |
771 | | - | |
| 769 | + | |
772 | 770 | | |
773 | 771 | | |
774 | 772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
269 | 268 | | |
270 | 269 | | |
271 | 270 | | |
| |||
0 commit comments