Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4096283pxk; Tue, 29 Sep 2020 14:21:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLEia6+EyWtQC7NlZKH9Q9Hg9WhS2G5wCRhJGp6PFSXBi1C7nl1biJS2cusy61kPYaefHm X-Received: by 2002:aa7:d648:: with SMTP id v8mr5467762edr.159.1601414471826; Tue, 29 Sep 2020 14:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601414471; cv=none; d=google.com; s=arc-20160816; b=aWYu2X4msJwV/RhPQv3gXyRO3Gw02HWzdmYvjH7/wSFD51mT871OUsfadxpXWKAdZj FmR18aCD0oYQLp/socqq0XwmW5aCbrCw+QmXF3ajdU01YSupiMSAjw2oK7FEhDszFNDA fG69EL4ILtFOGBtSbK/j7NbFS0L1oIK2ib4ivmgTYvthWi5BXurW+L2kDbbQhjzlwn02 a1jnm9rhFTSZLbpXN47NkWXtfpY6Tfb6a3QmbvuUj6JNcEeddQtjEXlMRipjrYBeIntQ 8bR7qW9BubFWzu2NRLX/D9YV3FsFpTe3hIqCVcLA8XYYTPZQCWemEnF4sC+2FKmXyPct rRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :sender:dkim-signature; bh=zLJyFMf9XZVQIy9gnwTsATrEt+DgUwH6ys2B+6ApuhI=; b=vsP24atlyQjE3+0jw1I6dAQpTeSNIg6BLMAoUx1b29nnmWqsikwJZAq/xGbzK1Xpzg wEJWtA3Hjz/vKgnSUXun7NAzDV9JIAgRxkxCn0BnwwURYvs10HHJXrsrUTJq0gr/KrhR x4zBDm4ZRDn5ijMWR+YwSYKd2u/yTgIhnUeNj1r/byW+jHGOG+zSL0xiy/mm4ea7X6jN 9fJvlhknyJtKNfufG3fT+P+Ps0eZk1ktGOrKDBRnoHEV2xc5WoHAJJenk9wllBoRzHp5 2ID+abQKZ+D3i6qBjzjzaG8ds+bJ4FB0VrcGsMZrosp/dod5x5bHXI2bx48cMdCAcYL7 91MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Y7594vIb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si3661849edt.479.2020.09.29.14.20.46; Tue, 29 Sep 2020 14:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Y7594vIb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728443AbgI2VTn (ORCPT + 99 others); Tue, 29 Sep 2020 17:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727347AbgI2VTn (ORCPT ); Tue, 29 Sep 2020 17:19:43 -0400 Received: from mail-pj1-x104a.google.com (mail-pj1-x104a.google.com [IPv6:2607:f8b0:4864:20::104a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2306BC0613D0 for ; Tue, 29 Sep 2020 14:19:43 -0700 (PDT) Received: by mail-pj1-x104a.google.com with SMTP id y7so4513400pjt.1 for ; Tue, 29 Sep 2020 14:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=zLJyFMf9XZVQIy9gnwTsATrEt+DgUwH6ys2B+6ApuhI=; b=Y7594vIbHkXBhApmTedw2NwyrpJX9f2YfI72IgOYLGX/daGmvomA28H71cor7NZwm8 rhkEBz7K2u6j3w5klPkBAnppYc0cuCn4RnyLCDfttpT4iDWk/n94iCjGAyKlW2n5HKFv VZD80GgYBFs4kqSlF/45g2NKdo+yFdg4pHUfz8VxC89N+fm2M6pDetzbdZyiv3grIhWa ap5hgRUbvDzc79SpSnPaJ5WA1QmEAg097fIckc35Qc5saTiIWtXSiIAsSZhdZQWhyJIQ 3X5tYfFzxQR0xYWMH+W0II9PkT9SbovJ5UMOG1DwLs1ZAzODwQFn/4CsCnMvoeXYBi6y tEEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=zLJyFMf9XZVQIy9gnwTsATrEt+DgUwH6ys2B+6ApuhI=; b=k19E0Th3/7xl2f7q21ZMyybx4+CjsOlekX5dT5ya/iPMpLa8e6+g8D+pfGpDsnPzSI outqNJU8+qDCPnruDQlhdn8C6CdSpCuhlDDz6wQ2YqMPqlmYcsug01INrt0X2qYBh8GB 5BTwZZVq9zB/UyPA17Se5hcAiCrcGVwm7s7+G3Jnl1djkEDEB1zlkCpXssF4mXvz4G/n EMlNvSrkCZGGI9weOFR1FGk8rT3MQOtoj9gP/NxHx3h2KNiRyFCyFzVTYbdXgMtmDD29 DOq31IMjKs/8jJbVA6mZYoDsW7w8s2Vn42X6vOwZ6OBrnl3v8kVUuwI7JNDYMb5+ldEV MiMA== X-Gm-Message-State: AOAM532+F07P53sxUlNhEfUz3OLYVeXfV0z/nx2iS7qjmUZi6YCGNW8c kloxQoq1Z0bH5tF1na6W76qqUp0l9DbPB+QgMsw= Sender: "ndesaulniers via sendgmr" X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:f693:9fff:fef4:4d25]) (user=ndesaulniers job=sendgmr) by 2002:aa7:9592:0:b029:13e:d13d:a054 with SMTP id z18-20020aa795920000b029013ed13da054mr5822227pfj.26.1601414382399; Tue, 29 Sep 2020 14:19:42 -0700 (PDT) Date: Tue, 29 Sep 2020 14:19:35 -0700 Message-Id: <20200929211936.580805-1-ndesaulniers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.28.0.709.gb0816b6eb0-goog Subject: [PATCH] docs: programming-languages: refresh blurb on clang support From: Nick Desaulniers To: Jonathan Corbet Cc: Nick Desaulniers , Nathan Chancellor , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building the kernel with Clang doesn't rely on third party patches, and has not for a few years now. Signed-off-by: Nick Desaulniers --- Documentation/process/programming-language.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst index e5f5f065dc24..63af142d64ec 100644 --- a/Documentation/process/programming-language.rst +++ b/Documentation/process/programming-language.rst @@ -6,14 +6,15 @@ Programming Language The kernel is written in the C programming language [c-language]_. More precisely, the kernel is typically compiled with ``gcc`` [gcc]_ under ``-std=gnu89`` [gcc-c-dialect-options]_: the GNU dialect of ISO C90 -(including some C99 features). +(including some C99 features). ``clang`` [clang]_ is also supported, see docs +docs on :ref:`Building Linux with Clang/LLVM `. This dialect contains many extensions to the language [gnu-extensions]_, and many of them are used within the kernel as a matter of course. -There is some support for compiling the kernel with ``clang`` [clang]_ -and ``icc`` [icc]_ for several of the architectures, although at the time -of writing it is not completed, requiring third-party patches. +There is some support for compiling the kernel with ``icc`` [icc]_ for several +of the architectures, although at the time of writing it is not completed, +requiring third-party patches. Attributes ---------- -- 2.28.0.709.gb0816b6eb0-goog