This article is about the compiler. For the phenomenon of rhyming word association, see Clanging. For the Band-Maid song, see World Domination (Band-Maid album).
Clang
Clang 13.0.1
Original author(s)
Chris Lattner
Developer(s)
LLVM Developer Group
Initial release
September 26, 2007; 16 years ago (2007-09-26)[1]
Stable release
18.1.4[2]
/ 16 April 2024; 11 days ago (16 April 2024)
Repository
github.com/llvm/llvm-project
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.llvm.org
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]
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]
^"LLVM 2.1 Release Notes". llvm.org. LLVM Developer Group. September 27, 2007. Archived from the original on November 17, 2016. Retrieved April 30, 2018.
^"LLVM 18.1.4". Retrieved April 16, 2024.
^"Releases". llvm / llvm-project repo. LLVM Developer Group. August 27, 2021. Archived from the original on September 12, 2021. Retrieved September 12, 2021 – via GitHub.com.
^ ab"LICENSE.TXT", llvm.org, LLVM Developer Group, archived from the original on November 11, 2020, retrieved September 24, 2019
^ ab"LLVM Developer Policy", llvm.org, LLVM Developer Group, § Copyright, License, and Patents, archived from the original on November 13, 2012, retrieved September 12, 2021
^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.
^Cite error: The named reference GCCCompat was invoked but never defined (see the help page).
^"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.
^Cite error: The named reference cxx_status was invoked but never defined (see the help page).
^"Clang 17.0.1 Release Notes". LLVM. Retrieved October 25, 2023.
Clang (/ˈklæŋ/) is a compiler front end for the C, C++, Objective-C, and Objective-C++ programming languages, as well as the OpenMP, OpenCL, RenderScript...
Clanging (or clang associations) is a symptom of mental disorders, primarily found in patients with schizophrenia and bipolar disorder. This symptom is...
Clang Invasion is an animated television series produced for the Canadian children's programming channel YTV, where it first premiered on September 12...
had found at the Beverly Hills Public Library and was captioned "'Clang, Clang, Clang,' Went the Trolley." Blane and Martin were nominated for the Academy...
John Clang, born Ang Choon Leng (Chinese: 汪春龙; pinyin: Wāng Chūnlóng), is a Singaporean visual artist, photographer and independent filmmaker. His work...
working on a new project named Clang. The combination of Clang frontend and LLVM backend is named Clang/LLVM or simply Clang. The name LLVM was originally...
Clang of the Yankee Reaper is the third studio album by Van Dyke Parks, released in 1976. It continues his exploration of calypso music started in the...
Calle Clang (born 20 May 2002) is a Swedish professional ice hockey goaltender who currently plays for the San Diego Gulls of the American Hockey League...
to ensure that GCC treats the file as a header. The clang compiler added support for PCH in Clang 2.5 / LLVM 2.5 of 2009. The compiler both tokenizes...
it included the Clang C/C++/Objective-C compiler, with newly-written front ends and a code generator based on LLVM, and the Clang static analyzer. Starting...
scientist, former Apple, Google, and Tesla employee and co-founder of LLVM, Clang compiler, MLIR compiler infrastructure and the Swift programming language...
A Harvest of Gentle Clang is the second album by Patrick Sky, dedicated to Buffy Sainte-Marie. With tracks such as "Jay Gould's Daughter," "John Riley"...
uses a shadow memory scheme to detect memory bugs. It is available in: Clang (starting from version 3.1) GCC (starting from version 4.8) Xcode (starting...
List of host operating systems and/or ⟨cross-compilation targets⟩. Uses a Clang Front End. Uses an EDG Front End. The Cray C++ Libraries do not support...
for the target platform. Clang is natively a cross compiler, at build time you can select which architectures you want Clang to be able to target. MinGW...
The Clang of the Pick (Swedish: Hård klang) is a 1952 Swedish drama film directed by Arne Mattsson and starring Victor Sjöström, Edvin Adolphson and Margit...