GCOV: std::vector refactoring III
authorMartin Liska <mliska@suse.cz>
Tue, 31 Oct 2017 11:59:32 +0000 (12:59 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 31 Oct 2017 11:59:32 +0000 (11:59 +0000)
commit8a3f457f148b7114dfa37927b73410eecc986a33
tree3d8aca15b3238bb60c59e16343ceeb05facdff1e
parent4695d816a37abffa3fae55cbb1c874ec1e62446d
GCOV: std::vector refactoring III

2017-10-31  Martin Liska  <mliska@suse.cz>

* gcov.c (struct name_map): do not use typedef.
Define operator== and operator<.
(name_search): Remove.
(name_sort): Remove.
(main): Do not allocate names.
(process_file): Add vertical space.
(generate_results): Use std::find.
(release_structures): Do not release memory.
(find_source): Use std::find.

From-SVN: r254262
gcc/ChangeLog
gcc/gcov.c