Home | History | Annotate | Download | only in Sema

Lines Matching refs:Warn

1221       // 'static inline' functions are used in headers; don't warn.
1231 // Don't warn on variables of const-qualified or reference type, since their
1250 // Only warn for unused decls internal to the translation unit.
2421 // If this redeclaration makes it newly gnu_inline, we don't want to warn
2652 GNUCompatibleParamWarning Warn
2654 Warnings.push_back(Warn);
2661 for (unsigned Warn = 0; Warn < Warnings.size(); ++Warn) {
2662 Diag(Warnings[Warn].NewParm->getLocation(),
2664 << Warnings[Warn].PromotedType
2665 << Warnings[Warn].OldParm->getType();
2666 if (Warnings[Warn].OldParm->getLocation().isValid())
2667 Diag(Warnings[Warn].OldParm->getLocation(),
2686 // function like 'malloc' or 'printf'. Warn about the
2862 // Warn if an already-declared variable is made a weak_import in a subsequent
3180 // Warn about ignored type attributes, for example:
5029 // Only warn about certain kinds of shadowing for class members.
5031 // In particular, don't warn about shadowing non-class members.
5035 // TODO: should we warn about static data members shadowing
6822 // compatible, and if it does, warn the user.
6859 // static main is not an error under C99, but we should warn about it.
6894 // type, but we should warn about the extension, and we disable the
7048 // Check for static member variables and don't warn on them.
7075 // Don't warn on arrays since they can be treated as pointers.
7078 // Warn when a non-static method call is followed by non-static member
7081 bool Warn = (MD && !MD->isStatic());
7085 Warn = false;
7090 if (Warn)
7251 // Warn if we deduced 'id'. 'auto' usually implies type-safety, but using
7253 // We only want to warn outside of template instantiations, though:
7413 // we do not warn to warn spuriously when 'x' and 'y' are on separate
8301 // Warn if the return value is pass-by-value and larger than the specified
8310 // Warn if any parameter is pass-by-value and larger than the specified
8437 // Don't warn about invalid declarations.
8445 // Don't warn about C++ member functions.
8449 // Don't warn about 'main'.
8453 // Don't warn about inline functions.
8457 // Don't warn about function templates.
8461 // Don't warn about function template specializations.
8465 // Don't warn for OpenCL kernels.
8541 // Warn if a global function is defined without a previous
8753 // defined at class scope, warn about this non standard construct.
8895 // Extension in C99. Legal in C90, but warn about it.
9234 // Warn about the struct/class tag mismatch.
9834 // If this is an undefined enum, warn.
11613 // warn that it might be used uninitialized.