From patchwork Tue Oct 20 05:29: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: 10120 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 64509BDB13 for ; Tue, 20 Oct 2020 05:29:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 30990613B4; Tue, 20 Oct 2020 07:29:32 +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="j94hIST/"; dkim-atps=neutral Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5B56E60351 for ; Tue, 20 Oct 2020 07:29:31 +0200 (CEST) Received: by mail-pj1-x1042.google.com with SMTP id a1so377493pjd.1 for ; Mon, 19 Oct 2020 22:29:31 -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=IBwbA87mFEa53OeEVLkoTjafGlDtryzgS7Jd9GFD6TE=; b=j94hIST/kwQiq9P27UX24shsY1HhknvK5pjEYDLrakWjZlbzkRNgKM26ullEQWOm7e dgCH68wIxR0fo4lBXydJFeluid6WHe6vGu+jHCZ9fDSLlALMQCgRu2UfqbWnexxYlbTH dycqor+XeBbJBU/uTj7TKOMIEHn54JOR4dYHk= 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=IBwbA87mFEa53OeEVLkoTjafGlDtryzgS7Jd9GFD6TE=; b=oVCYU4OjGeJqUn0cvbb3edvHheoFgcguG0Fe/diYcPonJwCk+/YWa00ForbQwZ8euJ UF467bpFVrvesV+J8k4uv/zCWqXO/5n3iMwdEpBTgOKiWO97UcMbvP+CXFEwr2A1x7YQ 5d/pyQtuWf4xFIPpuEjJb4m47tjfXfqJhMl1ess8qfCM4UVWuxYJi0fRmxK9hEUbgNAv e2WfYTX41isl3bsanMmTMZkmwQhpBtPKTlYzbzsNKR4/9H3wkyc3gWPYH/T48b8fvsy+ IsCKnZqrBSkQUpbV2ycDOBQPsAfAv4HLTRjtc92avRv5g3h30ZSzBYLhAokMsziaUsYD acpw== X-Gm-Message-State: AOAM530lSmUHS5lfSNhdvTU2fqX+gummKXOcQb6mHvDJ6XoJR5lAwlP5 qBbfMR57yENV+uzzn1HTDh/O/ClPRV9Ojw== X-Google-Smtp-Source: ABdhPJyyScrcU4R7XUBF+NVkT1GZn6TbzmXWFqzA4jpGJj++jQkurezI74lxZk6FwERuC/Nd56Xy2Q== X-Received: by 2002:a17:90a:7d12:: with SMTP id g18mr1339737pjl.89.1603171769799; Mon, 19 Oct 2020 22:29:29 -0700 (PDT) Received: from hiroh.tok.corp.google.com ([2401:fa00:8f:2:de4a:3eff:fe7d:f78f]) by smtp.gmail.com with ESMTPSA id j4sm779043pfd.101.2020.10.19.22.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 22:29:29 -0700 (PDT) From: Hirokazu Honda To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 14:29:05 +0900 Message-Id: <20201020052905.89267-9-hiroh@chromium.org> X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog In-Reply-To: <20201020052905.89267-1-hiroh@chromium.org> References: <20201020052905.89267-1-hiroh@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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, -Wxtra-semi, helps developers to find unnecessary semicolons. This option is available with clang. Signed-off-by: Hirokazu Honda Reviewed-by: Laurent Pinchart --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index de15cc1..480c861 100644 --- a/meson.build +++ b/meson.build @@ -64,6 +64,12 @@ if cc.get_id() == 'clang' '-stdlib=libc++', ] endif + + if cc.has_argument('-Wextra-semi') + cpp_arguments += [ + '-Wextra-semi', + ] + endif endif if cc.get_id() == 'gcc'