From patchwork Wed Apr 29 17:51:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuliano Procida X-Patchwork-Id: 39180 From: gprocida@google.com (Giuliano Procida) Date: Wed, 29 Apr 2020 18:51:29 +0100 Subject: [PATCH 2/6] Remove excess whitespace. In-Reply-To: <20200429175133.19814-1-gprocida@google.com> References: <20200429175133.19814-1-gprocida@google.com> Message-ID: <20200429175133.19814-3-gprocida@google.com> 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. Signed-off-by: Giuliano Procida --- src/abg-suppression.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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(s);} - /// Test if a given file path is "suppressed" by at least one file /// suppression specification among a vector of suppression /// specifications.