From patchwork Tue Nov 5 20:54:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 35655 Received: (qmail 110305 invoked by alias); 5 Nov 2019 20:54:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 110292 invoked by uid 89); 5 Nov 2019 20:54:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=FYI, fyi X-HELO: mail-yb1-f201.google.com Received: from mail-yb1-f201.google.com (HELO mail-yb1-f201.google.com) (209.85.219.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Nov 2019 20:54:12 +0000 Received: by mail-yb1-f201.google.com with SMTP id u39so4941131ybi.18 for ; Tue, 05 Nov 2019 12:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=r5nJkVkN2naIXfbwh5FXeOL1/9xicUURZ0Y6q04Ljwo=; b=ciFomTWthfLTOthp+kVn87V71bCiTvHaDydxznDNt2XJap3Cu+gRXkOzVdAMN/ptH9 zMibrdbqN4otJyis0Zxzg6aNX3fpu/q9oVLdBQsa627TJh0rJdcdJTlPgv8dhcInI+mX YPvtGikfbOb3fIk1ZDqnMJ0zfaP5OeOSHnn79jiLWb50iRK5q6Hs0+qq63kqmQIpiTib vqANyliVPp1aaEb0b23kAu2Dhh+2pcji7Z0k0FTf3LNQlGClalGDYJvly0cbdKhP7fXV OZxj/GqYO1e30AoQqHPCSDLnQu717TRQ/PNntOY8aREuNXWK7oiBqL1gs+2WcZ938e9S GgJA== Date: Tue, 5 Nov 2019 14:54:04 -0600 In-Reply-To: <20191105015637.GA48514@sourceware.org> Message-Id: <20191105205404.252519-1-cbiesinger@google.com> Mime-Version: 1.0 References: <20191105015637.GA48514@sourceware.org> Subject: [FYI/PUSHED] Fix ARI warning in symtab.h X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger X-IsSubscribed: yes gdb/ChangeLog: 2019-11-05 Christian Biesinger * symtab.h (gdb_static_assert): Put && operator at the beginning of the line instead of the end. Change-Id: I6d05c2f5e46c3f317ba97458509b2da9fd03464b --- gdb/symtab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/symtab.h b/gdb/symtab.h index 83b75d1647..111a0f924d 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -450,8 +450,8 @@ struct general_symbol_info makes sure the size doesn't change accidentally. Be careful when purposely increasing the size. */ gdb_static_assert ((sizeof (void *) == 8 && sizeof (general_symbol_info) == 32) - || (sizeof (void *) == 4 && - sizeof (general_symbol_info) == 20)); + || (sizeof (void *) == 4 + && sizeof (general_symbol_info) == 20)); extern void symbol_set_demangled_name (struct general_symbol_info *, const char *,