[v2,1/5] Remove excess whitespace.

Message ID 20200501155148.98623-2-gprocida@google.com
State Committed
Headers
Series Clean-ups. |

Commit Message

Giuliano Procida May 1, 2020, 3:51 p.m. UTC
  This patch removes some excess blank lines and a space after the
prefix ++ operator.

	* src/abg-suppression.cc: Eliminate double blank lines.
	(read_parameter_spec_from_string): Eliminate space between
	++ operator and its operand.

Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-suppression.cc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
  

Comments

Dodji Seketeli May 11, 2020, 12:06 p.m. UTC | #1
Giuliano Procida <gprocida@google.com> a ?crit:

> This patch removes some excess blank lines and a space after the
> prefix ++ operator.
>
> 	* src/abg-suppression.cc: Eliminate double blank lines.
> 	(read_parameter_spec_from_string): Eliminate space between
> 	++ operator and its operand.

Applied to master, thanks!

Cheers,
  

Patch

diff --git a/src/abg-suppression.cc b/src/abg-suppression.cc
index d3ccb63c..d9279c15 100644
--- a/src/abg-suppression.cc
+++ b/src/abg-suppression.cc
@@ -497,7 +497,6 @@  void
 type_suppression::set_consider_type_kind(bool f)
 {priv_->consider_type_kind_ = f;}
 
-
 /// Setter of the kind of type this suppression is about.
 ///
 /// Note that this will be considered during evaluation of the
@@ -802,7 +801,6 @@  type_suppression::suppresses_diff(const diff* diff) const
 		   range_end_val))
 		break;
 
-
 	      unsigned range_begin =
 		(range_begin_val < 0) ? first_type_size : range_begin_val;
 
@@ -1255,7 +1253,6 @@  type_suppression::insertion_range::integer_boundary_sptr
 type_suppression::insertion_range::create_integer_boundary(int value)
 {return integer_boundary_sptr(new integer_boundary(value));}
 
-
 /// Create a function call expression boundary.
 ///
 /// The return value of this function is to be used as a boundary for
@@ -3120,7 +3117,7 @@  read_parameter_spec_from_string(const string& str)
   if (str[cur] == '/')
     {
       is_regex = true;
-      ++ cur;
+      ++cur;
     }
 
   // look for the type name (regex)
@@ -3956,7 +3953,6 @@  variable_suppression::suppresses_variable_symbol(const elf_symbol* sym,
   else
     no_symbol_name = true;
 
-
   // Consider the symbol version.
   if (!get_symbol_version().empty())
     {
@@ -4383,7 +4379,6 @@  file_suppression_sptr
 is_file_suppression(const suppression_sptr s)
 {return dynamic_pointer_cast<file_suppression>(s);}
 
-
 /// Test if a given file path is "suppressed" by at least one file
 /// suppression specification among a vector of suppression
 /// specifications.