From patchwork Tue May 5 18:17:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuliano Procida X-Patchwork-Id: 39225 From: gprocida@google.com (Giuliano Procida) Date: Tue, 5 May 2020 19:17:00 +0100 Subject: [PATCH] Tidy get_pretty_representation qualified_name. Message-ID: <20200505181700.239417-1-gprocida@google.com> The virtual function get_pretty_representation exists in many classes (derived from type_or_decl_base). It takes a qualified_name argumenta and this is defaulted to true in all but one case which seems to be an oversight. This commit changes this for no better reason than consistency. * include/abg-ir.h (type_decl::get_pretty_representation) Change default for qualified_name parameter to true. Signed-off-by: Giuliano Procida Reviewed-by: Matthias Maennich Acked-by: Dodji Seketeli --- include/abg-ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/abg-ir.h b/include/abg-ir.h index fda10de5..edfea863 100644 --- a/include/abg-ir.h +++ b/include/abg-ir.h @@ -1920,7 +1920,7 @@ public: virtual string get_pretty_representation(bool internal = false, - bool qualified_name = false) const; + bool qualified_name = true) const; virtual bool traverse(ir_node_visitor&);