| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangStandard.h | 54 C2y = (1 << 5), enumerator 110 bool isC2y() const { return Flags & C2y; } in isC2y()
|
| H A D | LangStandards.def | 101 // C2y modes 103 C, "Working Draft for ISO C2y", 104 LineComment | C99 | C11 | C17 | C23 | C2y | Digraphs | HexFloat) 106 C, "Working Draft for ISO C2y with GNU extensions", 107 LineComment | C99 | C11 | C17 | C23 | C2y | Digraphs | GNUMode | HexFloat)
|
| H A D | Features.def | 220 // C2y features 221 FEATURE(c_countof, LangOpts.C2y) 330 // C2y features supported by other languages as extensions 331 EXTENSION(c_countof, !LangOpts.C2y && !LangOpts.CPlusPlus)
|
| H A D | DiagnosticParseKinds.td | 164 "passing a type argument as the first operand to '_Generic' is a C2y " 165 "extension">, InGroup<C2y>; 168 "with C standards before C2y">, InGroup<CPre2yCompat>, DefaultIgnore; 175 "'%0' is a C2y extension">, InGroup<C2y>; 183 "'%0' is incompatible with C standards before C2y">, 214 "case ranges are incompatible with C standards before C2y">, 217 "case ranges are a C2y extension">, InGroup<C2y>;
|
| H A D | DiagnosticLexKinds.td | 145 "%select{delimited|named}0 escape sequences are a %select{C++23|C2y|Clang}1 " 151 "delimited escape sequences are incompatible with C standards before C2y">, 254 "octal integer literals are a C2y extension">, InGroup<C2y>; 259 "octal integer literals are incompatible with standards before C2y">,
|
| H A D | LangOptions.def | 45 LANGOPT(C2y , 1, 0, NotCompatible, "C2y")
|
| H A D | TokenKinds.def | 339 // Note, C2y removed support for _Imaginary; we retain it as a keyword because 353 // C2y
|
| H A D | DiagnosticGroups.td | 1393 // A warning group for warnings about using C2y features as extensions. 1394 def C2y : DiagGroup<"c2y-extensions">;
|
| H A D | DiagnosticSemaKinds.td | 314 "imaginary constants are incompatible with C standards before C2y">, 317 "imaginary constants are a C2y extension">, InGroup<C2y>; 3699 "'alignof' on an incomplete array type is a C2y extension">, 3700 InGroup<C2y>; 3703 "before C2y">, InGroup<CPre2yCompat>, DefaultIgnore; 8065 "'%select{--|++}0' on an object of complex type is a C2y extension">, 8066 InGroup<C2y>; 8069 "standards before C2y">, InGroup<CPre2yCompat>, DefaultIgnore; 10715 "incomplete type %0 in a '_Generic' association is a C2y extension">, 10716 InGroup<C2y>; [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 117 Opts.C2y = Std.isC2y(); in setLangDefaults()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1426 if (LangOpts.C2y) in ParseNumberStartingWithZero() 1454 if (radix == 8 && LangOpts.C2y && !hadError && !IsSingleZero) in ParseNumberStartingWithZero()
|
| H A D | Lexer.cpp | 3396 else if (Opts.C2y && !Named) in DiagnoseDelimitedOrNamedEscapeSequence()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 2249 else if (getLangOpts().C2y && OpTok.is(tok::kw__Countof)) in ParseUnaryExprOrTypeTraitExpression() 2288 if (!getLangOpts().C2y) in ParseUnaryExprOrTypeTraitExpression() 3022 Diag(Loc, getLangOpts().C2y ? diag::warn_c2y_compat_generic_with_type_arg in ParseGenericSelectionExpression()
|
| H A D | ParseStmt.cpp | 821 else if (getLangOpts().C2y) in ParseCaseStatement()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 462 if (LangOpts.C2y) in InitializeStandardPredefinedMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 5086 if (SemaRef.getLangOpts().C99 && !SemaRef.getLangOpts().C2y) in AddKeywordsToConsumer()
|
| H A D | SemaStmt.cpp | 4066 (!getLangOpts().CPlusPlus && !getLangOpts().C2y)) { in BuildReturnStmt()
|
| H A D | SemaExpr.cpp | 1826 D = LangOpts.C2y ? diag::warn_c2y_compat_assoc_type_incomplete in CreateGenericSelectionExpr() 4136 else if (getLangOpts().C2y) in ActOnNumericConstant() 4597 Diag(OpLoc, getLangOpts().C2y in CheckUnaryExprOrTypeTraitOperand() 14225 S.Diag(OpLoc, S.getLangOpts().C2y ? diag::warn_c2y_compat_increment_complex in CheckIncrementDecrementOperand()
|
| H A D | SemaType.cpp | 1507 if (!S.getLangOpts().CPlusPlus && !S.getLangOpts().C2y) in ConvertDeclSpecToType()
|
| H A D | SemaCodeComplete.cpp | 1810 if (!LangOpts.C2y) in AddTypeSpecifierResults()
|
| H A D | SemaDecl.cpp | 19842 if (NonBitFields == 0 && !getLangOpts().CPlusPlus && !getLangOpts().C2y) { in ActOnFields()
|