Index: clang/www/c_status.html =================================================================== --- /dev/null +++ clang/www/c_status.html @@ -0,0 +1,296 @@ + + + + + Clang - C Programming Language Status + + + + + + + + +
+ + +

C Support in Clang

+ + +

Clang implements the following published and upcoming ISO C standards:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Language StandardFlagAvailable in Clang?
C89-std=c89Yes
C99-std=c99Almost certainly
C11-std=c11Probably
C17-std=c17Maybe?
C2x-std=c2xPartial
+ +

The Clang community is continually striving to improve C standards +compliance between releases. We implement the resolution for defect +reports, but we do not currently track our DR status (help with +tracking DR status is appreciated).

+ +

The LLVM bug tracker contains a +Clang C component that tracks known bugs with Clang's language +conformance.

+ +

C89 implementation status

+ +

+ +

C99 implementation status

+ +

+ +

C11 implementation status

+ +

+ +

C17 implementation status

+ +

+ +

C2x implementation status

+ +

+ +

You can use Clang in C2x mode with the -std=c2x option.

+ +
+List of features and minimum Clang version with support + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Language FeatureC2x ProposalAvailable in Clang?
Evaluation formatsN2186Unknown
Clarifying the restrict Keyword v2N2660Unknown
Harmonizing static_assert with C++N2665Clang 9
nodiscard attributeN2667Clang 9
maybe_unused attributeN2670Clang 9
TS 18661 Integration
N2314Unknown
N2341Unknown
N2401Unknown
N2359Unknown
N2546Unknown
Preprocessor line numbers unspecifiedN2322Yes
deprecated attributeN2334Clang 9
Attributes
N2335Clang 9
N2554Clang 9
Defining new types in offsetofN2350Yes
fallthrough attributeN2408Clang 9
Two's complement sign representationN2412Unknown
Adding the u8 character prefixN2418No
Remove support for function definitions with identifier listsN2432No
*_IS_IEC_60559 feature test macrosN2379Unknown
Floating-point negation and conversionN2416Unknown
Annex F.8 update for implementation extensions and roundingN2384Unknown
_Bool definitions for true and falseN2393No
[[nodiscard("should have a reason")]]N2448Clang 10
Allowing unnamed parameters in function definitionsN2480Clang 11
Free positioning of labels inside compound statementsN2508No
Clarification request for C17 example of undefined behaviorN2517No
Querying attribute supportN2553Clang 9
Binary literalsN2549Clang 9
Allow duplicate attributesN2557Clang 13
Character encoding of diagnostic textN2563Yes
What we think we reserveN2572Yes
Decimal floating-point triplesN2580Unknown
Remove mixed wide string literal concatenationN2594Clang 9
Update to IEC 60559:2020N2600Unknown
Compatibility of Pointers to Arrays with QualifiersN2607Unknown
+
+ +
+ + + Index: clang/www/menu.html.incl =================================================================== --- clang/www/menu.html.incl +++ clang/www/menu.html.incl @@ -12,6 +12,7 @@ User's Manual Language Compatibility Language Extensions + C Status C++ Status