For questions about the clang LLVM compiler front end. For general questions about C, use the C tag.
Usage
This tag should be used for questions specific to clang, an LLVM compiler front end for C-based languages. It should not be used for general questions about C; for those, use the c tag.
About
Clang is the LLVM compiler front end for C/C++/Objective-C, which provides fast compiles, useful error and warning messages, an accommodating license and offers an extensible platform for building source level tools.
Why Clang?
The development of a new front-end was started out of a need -- a need for a compiler that allows better diagnostics, better integration with IDEs, a license that is compatible with commercial products, and a nimble compiler that is easy to develop and maintain. All of these were motivations for starting work on a new front-end that could meet these needs.
Current Status
Clang is still under development. Clang is considered to be a production quality C, Objective-C, C++ and Objective-C++ compiler when targeting X86-32, X86-64, and ARM (other targets may have caveats, but are usually easy to fix).
C++ Standards Support
- C++11 is fully supported in Clang 3.3 and later
- C++14 is fully supported in Clang 3.4 and later
- C++17 proposed features are mostly supported in Clang 3.5 and later
Please see the C++ status page for more information.