Primary
Clang ○›|Definition|1st|20261025155446-00-⌔
Clang
Clang (/ˈklæŋ/)1 is a compiler front end for the programming languages C, C++, Objective-C, and Objective-C++ and the software frameworks OpenMP,2 OpenCL, RenderScript, CUDA, SYCL, and HIP.3 It acts as a drop-in replacement for the GNU Compiler Collection (GCC), supporting most of its compiling flags and unofficial language extensions.45 It includes a static analyzer and several code analysis tools.6
Clang operates in tandem with the LLVM compiler back end and has been a subproject of LLVM 2.6 and later.7 As with LLVM, it is free and open-source software under the Apache 2.0 software license.[^4][^5] Its contributors include Apple, IBM, Microsoft, Google, ARM, Sony, Intel and AMD.
Clang 22 has full support for all published C++ standards up to C++17, implements most features of C++20 and C++23, and has initial support for the C++26 standard.8 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.9
Printed 2026-10-25.
(echo:: @ ᯤ)
Link to original Footnotes
Christopher, Eric (July 3, 2008). “simply wonder pronunciation of Clang”. LLVMdev (Mailing list). Retrieved September 22, 2015. ↩
“OpenMP Support”. LLVM Project Blog. May 22, 2015. Archived from the original on March 26, 2016. Retrieved March 28, 2016. ↩
“C++ Heterogeneous-Compute Interface for Portability”. GitHub. Archived from the original on June 27, 2020. Retrieved February 18, 2020. ↩
“Clang Language Extensions”. Archived from the original on February 24, 2014. Retrieved November 8, 2017. In addition to the language extensions listed here, Clang aims to support a broad range of GCC extensions. ↩
Clang - Features and Goals: GCC Compatibility, April 15, 2013, archived from the original on April 27, 2018, retrieved April 30, 2018 ↩
“Clang Static Analyzer”. LLVM. Archived from the original on April 30, 2018. Retrieved September 3, 2009. ↩
“Getting Involved with the Clang Project”, clang.llvm.org, LLVM Developer Group, archived from the original on April 27, 2018, retrieved September 18, 2012, Clang is a subproject of the LLVM Project, but has its own mailing lists because the communities have people with different interests. ↩
“C++ and C++‘0x Support in Clang”. LLVM. Archived from the original on July 4, 2013. Retrieved March 12, 2023. ↩
“Clang 17.0.1 Release Notes”. LLVM. Retrieved October 25, 2023. ↩
Secondary
• • •