Misc style fixes in abg-writer.cc
authorDodji Seketeli <dodji@redhat.com>
Wed, 4 Oct 2017 12:21:12 +0000 (14:21 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 4 Oct 2017 12:22:37 +0000 (14:22 +0200)
* src/abg-writer.cc (type_hasher): Add comment.
(write_context::record_decl_as_emitted): Remove useless newline.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-writer.cc

index 0bb408fe6d297ca55579bd2fc0b0663949e2721a..c7defed9b5fff0dd70f57394b77ee2e55494a61e 100644 (file)
@@ -135,7 +135,7 @@ struct type_hasher
   size_t
   operator()(const type_base* t) const
   {return hash_type_or_decl(t);}
-};
+}; // end struct type_hasher
 
 /// A convenience typedef for a map that associates a pointer to type
 /// to a string.  The pointer to type is hashed as fast as possible.
@@ -587,7 +587,6 @@ public:
   void
   record_decl_as_emitted(const decl_base_sptr &decl)const
   {
-
     string repr = get_pretty_representation(decl, true);
     interned_string irepr = decl->get_environment()->intern(repr);
     m_emitted_decls_map[irepr] = true;