From 5a3323bea5e3a8569c1822a6fb99879f0bf8e442 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 30 Aug 2010 02:34:30 +0200 Subject: [PATCH] dwarflint: Add documentation to check_dups_abstract_origin --- dwarflint/check_dups_abstract_origin.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dwarflint/check_dups_abstract_origin.cc b/dwarflint/check_dups_abstract_origin.cc index 88b584242..314bf6dd4 100644 --- a/dwarflint/check_dups_abstract_origin.cc +++ b/dwarflint/check_dups_abstract_origin.cc @@ -23,13 +23,6 @@ Network licensing program, please visit www.openinventionnetwork.com . */ -// Implements a check for -// https://bugzilla.redhat.com/show_bug.cgi?id=527430 -// -// Roland: If a given attribute name is present on a DIE, it is -// suspicious if that attribute name appears on the DIE that's the -// first DIE's DW_AT_abstract_origin or DW_AT_specification. - #ifdef HAVE_CONFIG_H # include #endif @@ -50,7 +43,13 @@ namespace { public: static checkdescriptor descriptor () { - static checkdescriptor cd ("check_dups_abstract_origin"); + static checkdescriptor cd + (checkdescriptor::create ("check_dups_abstract_origin") + .description ( +"If a given attribute name is present on a DIE, it is\n" +"suspicious if that attribute name appears on the DIE that's the\n" +"first DIE's DW_AT_abstract_origin or DW_AT_specification.\n" +" https://bugzilla.redhat.com/show_bug.cgi?id=527430\n")); return cd; } -- 2.47.3