summaryrefslogtreecommitdiffstats
path: root/Documentation/process
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2020-09-29 14:19:35 -0700
committerJonathan Corbet <corbet@lwn.net>2020-10-05 09:44:11 -0600
commit905705a8fd432636c22476e732cf7c7ba2d6edd7 (patch)
treecde4e1136a3bbbb4751bc84fcc3a67ef99161f3a /Documentation/process
parentf42182945d9f8a6b45dc7dd842ff23ee1b6ae240 (diff)
downloadlinux-stable-905705a8fd432636c22476e732cf7c7ba2d6edd7.tar.gz
linux-stable-905705a8fd432636c22476e732cf7c7ba2d6edd7.tar.bz2
linux-stable-905705a8fd432636c22476e732cf7c7ba2d6edd7.zip
docs: programming-languages: refresh blurb on clang support
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 <ndesaulniers@google.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Link: https://lore.kernel.org/r/20200929211936.580805-1-ndesaulniers@google.com [jc: Took out duplicated "docs" pointed out by Randy] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/process')
-rw-r--r--Documentation/process/programming-language.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/process/programming-language.rst b/Documentation/process/programming-language.rst
index e5f5f065dc24..ec474a70a02f 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 on :ref:`Building Linux with Clang/LLVM <kbuild_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
----------