From patchwork Tue Oct 20 09:15:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hirokazu Honda X-Patchwork-Id: 10132 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id B07BABDB1F for ; Tue, 20 Oct 2020 09:15:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7CFD6613C8; Tue, 20 Oct 2020 11:15:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="PQSpLIuo"; dkim-atps=neutral Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 15BAA613CE for ; Tue, 20 Oct 2020 11:15:26 +0200 (CEST) Received: by mail-pl1-x644.google.com with SMTP id bf6so709486plb.4 for ; Tue, 20 Oct 2020 02:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BSz8WxMPNOTmo8uKKCU1g3GmePjncGr6xk9tnf94F5g=; b=PQSpLIuoXofo+7euHJZJyVdjPoKQFIY8OJ6vhCdUDK+fIp0q22MmnZSwxHpVTa8CRj 3IwHRZWe4STrn62xFQHnWvFyLODp8GwUGpjFMaEPQCArKa+39ZU7NdiSJe5R57p09wyq 04ZJA1mH9mPotdCDEQl7Iz5XwN93gNdqLjrWg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BSz8WxMPNOTmo8uKKCU1g3GmePjncGr6xk9tnf94F5g=; b=T2JC0StA82+Z4KwSGvt7E5W9hspq4tacDgTyeebyABQcnwfTUuIQVY59LWzR0CBRxJ NjQPAzBdkI8w56hkUhwIKoHjRbMBfLUm9fJfH09SaMv74/6ePxuDa/BaPG9REOkLCJzt ZdeuUhmLSJYMnb0oqdigubn5pS54o0dTE8xuSigWLDRmLee173zw26qQ802JxFXXmng0 yN3buNSNukMqrillfeiF27jrmPm9uN9fsaIssZC5eBjGzF9xXrDzerJB5fQE1outD9yx n5BBnx7Ej8SxSEl+9vy/FFIgRsN6vTqoatXODI/+Ai7yiuvXtqs9ViNzeiqzwDhzjsGm 2L3g== X-Gm-Message-State: AOAM532ZeaJcS0ollfGQo0+tmAgheos74k3PEgDFdhAiCp+LTvjO5nk+ iKpFwJGj4wJ1iOO0Pzf62ckIuwRi1xYvmQ== X-Google-Smtp-Source: ABdhPJzCPrg9N4STy7xHrqxAfGlwp83akmpeHVX0Epe+AeKky6XFCGkhEh7q2wg7B4x/H4w4EFsY1Q== X-Received: by 2002:a17:90a:d908:: with SMTP id c8mr1856469pjv.45.1603185324514; Tue, 20 Oct 2020 02:15:24 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([2401:fa00:8f:2:de4a:3eff:fe7d:f78f]) by smtp.gmail.com with ESMTPSA id p8sm1482014pgs.34.2020.10.20.02.15.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 02:15:23 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 18:15:05 +0900 Message-Id: <20201020091505.138898-8-hiroh@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog In-Reply-To: <20201020091505.138898-1-hiroh@chromium.org> References: <20201020091505.138898-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 8/8] meson: Enable -Wextra-semi for clang X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The option, -Wextra-semi, helps developers to find unnecessary semicolons. This option is available with clang. Signed-off-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index de15cc1..b0c17d3 100644 --- a/meson.build +++ b/meson.build @@ -64,6 +64,10 @@ if cc.get_id() == 'clang' '-stdlib=libc++', ] endif + + cpp_arguments += [ + '-Wextra-semi', + ] endif if cc.get_id() == 'gcc'