Skip to content

Commit 905705a

Browse files
nickdesaulniersJonathan Corbet
authored andcommitted
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>
1 parent f421829 commit 905705a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Documentation/process/programming-language.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Programming Language
66
The kernel is written in the C programming language [c-language]_.
77
More precisely, the kernel is typically compiled with ``gcc`` [gcc]_
88
under ``-std=gnu89`` [gcc-c-dialect-options]_: the GNU dialect of ISO C90
9-
(including some C99 features).
9+
(including some C99 features). ``clang`` [clang]_ is also supported, see
10+
docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`.
1011

1112
This dialect contains many extensions to the language [gnu-extensions]_,
1213
and many of them are used within the kernel as a matter of course.
1314

14-
There is some support for compiling the kernel with ``clang`` [clang]_
15-
and ``icc`` [icc]_ for several of the architectures, although at the time
16-
of writing it is not completed, requiring third-party patches.
15+
There is some support for compiling the kernel with ``icc`` [icc]_ for several
16+
of the architectures, although at the time of writing it is not completed,
17+
requiring third-party patches.
1718

1819
Attributes
1920
----------

0 commit comments

Comments
 (0)