Misc white space fixes
authorDodji Seketeli <dodji@redhat.com>
Sun, 29 Jan 2023 18:58:21 +0000 (19:58 +0100)
committerDodji Seketeli <dodji@redhat.com>
Thu, 2 Mar 2023 17:31:43 +0000 (18:31 +0100)
* include/abg-suppression.h (class
type_suppression::insertion_range::end): Fix indentation.
* src/abg-default-reporter.cc (default_reporter::report): Fix
indentation in the overload for corpus_diff.
* src/abg-suppression-priv.h
(type_suppression::priv::source_locations_to_keep_): Fix alignment.
* src/abg-suppression.cc (read_type_suppression): Fix alignment of
comment.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-suppression.h
src/abg-default-reporter.cc
src/abg-suppression-priv.h
src/abg-suppression.cc

index 05b0e8b4b7258fc503ee07013a5310006ae7f784..9449d06d947157186fd18cf4034db25f572e0a03 100644 (file)
@@ -379,7 +379,7 @@ public:
   begin() const;
 
  boundary_sptr
 end() const;
+ end() const;
 
   static insertion_range::integer_boundary_sptr
   create_integer_boundary(int value);
index 243ddbfb4ed8a1db6e6143afde330361de345a41..38b89e6229d0f90aa2e20400bfae59eb48424718 100644 (file)
@@ -1873,7 +1873,7 @@ default_reporter::report(const corpus_diff& d, ostream& out,
                     // was playing tricks with symbol names and
                     // versions).
                  (is_c_language(get_translation_unit(fn)->get_language())
-                     && fn->get_name() != fn->get_symbol()->get_name()))
+                  && fn->get_name() != fn->get_symbol()->get_name()))
                {
                  // As the name of the symbol of the function doesn't
                  // seem to be obvious here, make sure to tell the
@@ -1949,7 +1949,7 @@ default_reporter::report(const corpus_diff& d, ostream& out,
          emitted = true;
        }
       if (emitted)
-         out << "\n";
+       out << "\n";
     }
 
   if (ctxt->show_added_vars())
index dcc5cc53dc043d1b8f28650364446e3818c987df..cf66a9f1af6d24126795710943642fd989e81619 100644 (file)
@@ -581,7 +581,7 @@ class type_suppression::priv
   // members of the class.
   mutable regex::regex_t_sptr          potential_data_members_regex_;
   type_suppression::insertion_ranges   insertion_ranges_;
-  unordered_set<string>                        source_locations_to_keep_;
+  unordered_set<string>                source_locations_to_keep_;
   string                               source_location_to_keep_regex_str_;
   mutable regex::regex_t_sptr          source_location_to_keep_regex_;
   mutable vector<string>               changed_enumerator_names_;
index aaf175ca10e6517c8758127be685edb6fecfe68c..4ed42e82ec038b6510a7cf9f0242d224e8f28a18 100644 (file)
@@ -2007,9 +2007,9 @@ read_type_suppression(const ini::config::section& section)
       // and not (for instance):
       //  has_data_member_inserted_between = {{0 , end}, {1, foo}}
       //
-      //  This means that the tuple_property_value contains just one
-      //  value, which is a list_property that itself contains 2
-      //  values.
+      // This means that the tuple_property_value contains just one
+      // value, which is a list_property that itself contains 2
+      // values.
       type_suppression::insertion_range::boundary_sptr begin, end;
       ini::tuple_property_value_sptr v = prop->get_value();
       if (v