Searched refs:C99 (Results 1 - 25 of 30) sorted by relevance

12

/external/clang/test/Sema/
H A Dimplicit-builtin-decl.c26 expected-warning {{implicit declaration of function 'fprintf' is invalid in C99}}
H A Dimplicit-decl.c13 expected-error {{implicit declaration of function '_CFCalendarDecomposeAbsoluteTimeV' is invalid in C99}}
16 printg("Hello, World!\n"); // expected-error{{implicit declaration of function 'printg' is invalid in C99}} \
30 formatd("Hello, World!\n"); // expected-error{{implicit declaration of function 'formatd' is invalid in C99}} \
/external/clang/include/clang/Frontend/
H A DLangStandard.h23 C99 = (1 << 2), enumerator in enum:clang::frontend::LangFeatures
62 /// isC99 - Language is a superset of C99.
63 bool isC99() const { return Flags & frontend::C99; }
/external/dhcpcd/mk/
H A Dcc.mk6 # Default to using the C99 standard
/external/mksh/src/
H A DBuild.sh963 ac_flags 1 xc99 -xc99 'for support of ISO C99'
969 ac_flags 1 ac99 -AC99 'for support of ISO C99'
980 ac_flags 1 xc99 -c99 'for support of ISO C99'
1013 ac_flags 1 stdg99 -std=gnu99 'for support of ISO C99 + GCC extensions'
1015 ac_flags 1 stdc99 -std=c99 'for support of ISO C99'
/external/clang/lib/Lex/
H A DLiteralSupport.cpp188 if (!Features.CPlusPlus && !Features.C99 && Diags)
220 // Check UCN constraints (C99 6.4.3p2) [C++11 lex.charset p2]
345 /// integer-constant: [C99 6.4.4.1]
384 /// floating-constant: [C99 6.4.4.2]
966 // if 'char' is signed for this target (C99 6.4.4.4p10). Note that multiple
1048 // literal, the result is a wide-string literal [C99 6.4.5p4].
1058 /// (C99 5.1.1.2p1). The common case is only one string fragment.
1287 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509;
1293 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0)
H A DPPDirectives.cpp140 // Error if defining "defined": C99 6.10.8.4.
144 // Error if defining "__LINE__" and other builtins: C99 6.10.8.4.
179 // Add a fixit in GNU/C99/C++ mode. Don't offer a fixit for strict-C89,
184 if ((LangOpts.GNUMode || LangOpts.C99 || LangOpts.CPlusPlus) &&
354 DiscardUntilEndOfDirective(); // C99 6.10p4.
579 // C99 6.10.3p8.
582 // C99 6.10.3p11: Is this preprocessor directive in macro invocation? e.g.:
632 // C99 6.10.1 - Conditional Inclusion.
646 // C99 6.10.2 - Source File Inclusion.
654 // C99 6.1
[all...]
H A DPPExpressions.cpp222 // long long is a C99 feature.
223 if (!PP.getLangOpts().C99 && Literal.isLongLong)
350 // C99 6.5.3.3p3: The sign of the result matches the sign of the operand.
370 // C99 6.5.3.3p4: The sign of the result matches the sign of the operand.
382 // C99 6.5.3.3p5: The sign of the result is 'int', aka it is signed.
518 // Usual arithmetic conversions (C99 6.3.1.8p1): result is unsigned if
615 Res.setIsUnsigned(false); // C99 6.5.8p6, result is always int (signed)
619 Res.setIsUnsigned(false); // C99 6.5.8p6, result is always int (signed)
623 Res.setIsUnsigned(false); // C99 6.5.8p6, result is always int (signed)
627 Res.setIsUnsigned(false); // C99 6.
[all...]
H A DPPMacroExpansion.cpp162 // examine enclosing ones (C99 5.1.1.2p4). Otherwise walk up the
218 // C99 6.10.3p10: If the preprocessing token immediately after the the macro
362 // C99 6.10.3p11: Keep track of the number of l_parens we have seen. Note
401 // C99 6.10.3.4p2.
434 // Empty arguments are standard in C99 and C++0x, and are supported as an extension in
436 if (ArgTokens.size() == ArgTokenStart && !LangOpts.C99)
913 // C99 6.10.8: "__LINE__: The presumed line number (within the current
934 // C99 6.10.8: "__FILE__: The presumed name of the current source file (a
/external/clang/lib/Parse/
H A DParseStmt.cpp26 // C99 6.8: Statements and Blocks.
127 if (Next.is(tok::colon)) { // C99 6.8.1: labeled-statement
243 case tok::kw_case: // C99 6.8.1: labeled-statement
245 case tok::kw_default: // C99 6.8.1: labeled-statement
248 case tok::l_brace: // C99 6.8.2: compound-statement
250 case tok::semi: { // C99 6.8.3p3: expression[opt] ';'
255 case tok::kw_if: // C99 6.8.4.1: if-statement
257 case tok::kw_switch: // C99 6.8.4.2: switch-statement
260 case tok::kw_while: // C99 6.8.5.1: while-statement
262 case tok::kw_do: // C99 6.
[all...]
H A DParseExpr.cpp11 // C99 basically consist of a bunch of binary operators with unary operators and
14 // In the C99 grammar, these unary operators bind tightest and are represented
98 /// Note: we diverge from the C99 grammar when parsing the assignment-expression
99 /// production. C99 specifies that the LHS of an assignment operator should be
112 /// multiplicative-expression: [C99 6.5.5]
119 /// additive-expression: [C99 6.5.6]
124 /// shift-expression: [C99 6.5.7]
129 /// relational-expression: [C99 6.5.8]
136 /// equality-expression: [C99 6.5.9]
141 /// AND-expression: [C99 6.
[all...]
/external/clang/lib/Analysis/
H A DFormatString.cpp206 if (IsScanf && !LO.C99 && !LO.CPlusPlus0x) {
H A DPrintfFormatString.cpp11 // strings for fprintf() are described in C99 7.19.6.1.
172 // C99: 7.19.6.1 (section 8).
423 // Handle size_t, ptrdiff_t, etc. that have dedicated length modifiers in C99.
424 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus0x)) {
429 // Not C99, but common in Unix.
476 // appearing in the C99 standard (ISO/IEC 9899:1999 (E) 7.19.6.1)
H A DScanfFormatString.cpp11 // strings for fscanf() are described in C99 7.19.6.2.
379 // Handle size_t, ptrdiff_t, etc. that have dedicated length modifiers in C99.
380 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus0x)) {
385 // Not C99, but common in Unix.
/external/clang/lib/Basic/
H A DIdentifierTable.cpp114 /// The C90/C99/CPP/CPP0x flags are set to 3 if the token is a keyword in a
125 else if (LangOpts.C99 && (Flags & KEYC99)) AddResult = 2;
H A DTargets.cpp493 // Solaris headers require _XOPEN_SOURCE to be set to 600 for C99 and
495 // ensure that you are not using C99 with an old version of X/Open or C89
497 if (Opts.C99 || Opts.C11)
/external/clang/lib/Sema/
H A DSemaCodeComplete.cpp509 // Filter out names reserved for the implementation (C99 7.1.3,
1232 if (LangOpts.C99) {
1233 // C99-specific
1320 if (LangOpts.CPlusPlus || LangOpts.C99)
1385 return LangOpts.CPlusPlus || LangOpts.ObjC1 || LangOpts.C99;
1693 if (SemaRef.getLangOpts().CPlusPlus || SemaRef.getLangOpts().C99)
2493 // C99 variadic macros add __VA_ARGS__ at the end. Skip it.
2901 if (LangOpts.C99 || LangOpts.CPlusPlus0x)
2945 if (S.getLangOpts().CPlusPlus || S.getLangOpts().C99 ||
3211 if (getLangOpts().C99)
[all...]
H A DDeclSpec.cpp667 // Duplicates turn into warnings pre-C99.
668 if ((TypeQualifiers & T) && !Lang.C99)
H A DSemaType.cpp669 // C99 and C++ require a type specifier. For example, C99 6.7.2p2 says:
699 // long long is a C99 feature.
700 if (!S.getLangOpts().C99)
714 // long long is a C99 feature.
715 if (!S.getLangOpts().C99)
923 // Enforce C99 6.7.3p2: "Types other than pointer types derived from object
952 // Warn about CV qualifiers on functions: C99 6.7.3p8: "If the specification
986 if (!S.getLangOpts().C99 && !S.getLangOpts().CPlusPlus
1018 // Enforce C99 6.
[all...]
H A DSemaStmt.cpp40 // C99 6.8.3p2: The expression in an expression statement is evaluated as a
251 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus) {
300 // C99 6.8.4.2p3: The expression shall be an integer constant.
536 // C99 6.8.4.2p5 - Integer promotions are performed on the controlling expr.
668 // We already verified that the expression has a i-c-e value (C99
1047 // C99 6.8.5p3: The declaration part of a 'for' statement shall only
1189 // C99 6.8.5p3: The declaration part of a 'for' statement shall only
1673 // C99 6.8.6.2p1: A break shall appear only in or as a loop body.
1684 // C99 6.8.6.3p1: A break shall appear only in or as a switch/loop body.
1919 // C99 6.
[all...]
H A DSemaLookup.cpp1084 /// Unqualified name lookup (C++ [basic.lookup.unqual], C99 6.2.1) is
3553 if (SemaRef.getLangOpts().C99)
3557 else if (SemaRef.getLangOpts().C99)
H A DSemaExpr.cpp308 /// DefaultFunctionArrayConversion (C99 6.3.2.1p3, C99 6.3.2.1p4).
327 // to type'...". In C99 this was changed to: C99 6.3.2.1p3: "an expression
329 // (C90) to "an expression" (C99).
335 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue())
400 // C99 6.3.2.1p2:
436 /// operators (C99 6.3). The conversions of array and function types are
458 // C99 6.3.1.1p2:
486 /// DefaultArgumentPromotion (C99 6.
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp286 else if (LangOpts.C99)
576 // Macros to control C99 numerics and <float.h>
H A DCompilerInvocation.cpp641 // BCPLComment, C99, CPlusPlus0x, Digraphs, GNUInline, ImplicitInt, GNUMode
1670 Opts.C99 = Std.isC99();
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp312 } else if (LO.C99) {

Completed in 377 milliseconds

12