Skip to content
Commit 4f69c1b3 authored by Tom Tromey's avatar Tom Tromey
Browse files

Fix some comments in dwarf2/cooked-index.h



This fixes a couple of comments in dwarf2/cooked-index.h.

The comment by cooked_index_entry::canonical mentions C++, but this
field can also be different from 'name' in other situations.  Rather
than enumerate the cases here (which doesn't seem important), make the
text a little less specific.

Also, cooked_index_entry::write_scope doesn't document its "for_main"
parameter -- and it is misnamed in the prototype as well.

Reviewed-By: default avatarTom de Vries <tdevries@suse.de>
parent 05273602
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment