Home | History | Annotate | Download | only in Sema

Lines Matching full:redeclaration

1988   // The types match.  Link up the redeclaration chain and merge attributes if
2424 // FIXME: Should we build redeclaration chains for function parameters?
2712 // If this redeclaration makes the function inline, we may need to add it to
2722 // If this redeclaration makes it newly gnu_inline, we don't want to warn
2796 // We don't want a redeclaration error.
3038 // or 'printf', just warn about the incompatible redeclaration.
3044 // If this is a global redeclaration, just forget hereafter
3050 // remain visible, a single bogus local redeclaration (which is
3072 /// redeclaration of Old.
3399 // Do not allow redeclaration to change the variable between requiring
3778 /// \return true if this is a forbidden redeclaration
4806 // If this has an identifier and is not an invalid redeclaration or
5014 bool Redeclaration = D.isRedeclaration();
5015 NamedDecl *ND = ActOnTypedefNameDecl(S, DC, NewTD, Previous, Redeclaration);
5016 D.setRedeclaration(Redeclaration);
5063 LookupResult &Previous, bool &Redeclaration) {
5070 Redeclaration = true;
5270 // A redeclaration is not allowed to add a dllimport or dllexport attribute,
5301 // A redeclaration is not allowed to drop a dllimport attribute, the only
5375 /// redeclaration of an internal linkage declaration.
6106 // redeclaration.
6167 /// if we have found that this is a redeclaration of some prior entity.
6197 // translation unit or can be a redeclaration of an extern "C" declaration
6354 /// Returns true if the variable declaration is a redeclaration.
6536 /// \brief Generate diagnostics for an invalid function redeclaration.
6539 /// function redeclaration, including finding possible similar declarations
7518 // Recover gracefully from an invalid redeclaration.
7660 // Recover gracefully from an invalid redeclaration.
7904 /// \returns true if the function declaration is a redeclaration.
7920 bool Redeclaration = false;
7933 Redeclaration = true;
7940 Redeclaration = true;
7944 Redeclaration = true;
7948 Redeclaration = false;
7956 << Redeclaration << NewFD;
7958 if (Redeclaration)
7971 if (!Redeclaration &&
7977 Redeclaration = true;
7985 << Redeclaration << NewFD;
7991 Redeclaration = false;
8036 if (Redeclaration) {
8041 return Redeclaration;
8096 return Redeclaration;
8125 return Redeclaration;
8132 return Redeclaration;
8168 return Redeclaration;
8808 // If this is a redeclaration, check that the type we just deduced matches
9968 // Check for redeclaration of parameters, e.g. int foo(int x, int x);
11069 /// Check whether this is a valid redeclaration of a previous enumeration.
11070 /// \return true if the redeclaration was invalid.
11088 // TODO: Highlight the underlying type of the redeclaration.
11106 /// redeclaration diagnostic message.
11120 /// class for redeclaration (class, struct, or __interface).
11129 /// as a redeclaration of the given tag declaration.
11342 // redeclaration.
11464 // declaration may be a redeclaration of a type declared in an enclosing
11532 // also need to do a redeclaration lookup there, just in case
11587 // In C++, we need to do a redeclaration lookup to properly
11602 // insanity with a redeclaration lookup can only actually happen
11742 // A redeclaration in function prototype scope in C isn't
11774 // Okay, we're going to make a redeclaration. If this is some kind
11775 // of reference, make sure we build the redeclaration in the same DC
11803 // (non-redeclaration) lookup.
13180 // Diagnose redeclaration of private ivars.