Clang
Compiler front-end / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Clang?
Summarize this article for a 10 year old
Clang (/ˈklæŋ/)[6] is a compiler front end for the C, C++, Objective-C, and Objective-C++ programming languages, as well as the OpenMP,[7] OpenCL, RenderScript, CUDA, SYCL, and HIP[8] frameworks. It acts as a drop-in replacement for the GNU Compiler Collection (GCC), supporting most of its compilation flags and unofficial language extensions.[9][10] It includes a static analyzer, and several code analysis tools.[11]
Original author(s) | Chris Lattner |
---|---|
Developer(s) | LLVM Developer Group |
Initial release | September 26, 2007; 16 years ago (2007-09-26)[1] |
Stable release | |
Repository | |
Written in | C++ |
Operating system | Unix-like |
Platform | AArch64, ARMv7, IA-32, x86-64, ppc64le[3] |
Type | Compiler front end |
License | Apache License 2.0 with LLVM Exceptions[4][5] |
Website | clang |
Clang operates in tandem with the LLVM compiler back end and has been a subproject of LLVM 2.6 and later.[12] As with LLVM, it is free and open-source software under the Apache License 2.0 software license.[4][5] Its contributors include Apple, Microsoft, Google, ARM, Sony, Intel, and AMD.
Clang 17, the latest major version of Clang as of October 2023, has full support for all published C++ standards up to C++17, implements most features of C++20, and has initial support for the upcoming C++23 standard.[13] Since v16.0.0, Clang compiles C++ using the GNU++17 dialect by default, which includes features from the C++17 standard and conforming GNU extensions.[14]