Home | History | Annotate | Download | only in Sema

Lines Matching refs:Redeclaration

1837   // The types match.  Link up the redeclaration chain and merge attributes if
2264 // FIXME: Should we build redeclaration chains for function parameters?
2552 // If this redeclaration makes the function inline, we may need to add it to
2562 // If this redeclaration makes it newly gnu_inline, we don't want to warn
2636 // We don't want a redeclaration error.
2877 // or 'printf', just warn about the incompatible redeclaration.
2883 // If this is a global redeclaration, just forget hereafter
2889 // remain visible, a single bogus local redeclaration (which is
2911 /// redeclaration of Old.
3231 // Do not allow redeclaration to change the variable between requiring
3539 /// \return true if this is a forbidden redeclaration
4562 // If this has an identifier and is not an invalid redeclaration or
4784 bool Redeclaration = D.isRedeclaration();
4785 NamedDecl *ND = ActOnTypedefNameDecl(S, DC, NewTD, Previous, Redeclaration);
4786 D.setRedeclaration(Redeclaration);
4833 LookupResult &Previous, bool &Redeclaration) {
4840 Redeclaration = true;
5035 // A redeclaration is not allowed to add a dllimport or dllexport attribute,
5049 // A redeclaration is not allowed to drop a dllimport attribute, the only
5110 /// redeclaration of an internal linkage declaration.
5843 // redeclaration.
5904 /// if we have found that this is a redeclaration of some prior entity.
5934 // translation unit or can be a redeclaration of an extern "C" declaration
6091 /// Returns true if the variable declaration is a redeclaration.
6273 /// \brief Generate diagnostics for an invalid function redeclaration.
6276 /// function redeclaration, including finding possible similar declarations
7264 // Make graceful recovery from an invalid redeclaration.
7631 /// \returns true if the function declaration is a redeclaration.
7647 bool Redeclaration = false;
7660 Redeclaration = true;
7667 Redeclaration = true;
7671 Redeclaration = true;
7675 Redeclaration = false;
7683 << Redeclaration << NewFD;
7685 if (Redeclaration)
7698 if (!Redeclaration &&
7704 Redeclaration = true;
7712 << Redeclaration << NewFD;
7718 Redeclaration = false;
7763 if (Redeclaration) {
7768 return Redeclaration;
7799 // A valid redeclaration of a C++ method must be out-of-line,
7842 return Redeclaration;
7871 return Redeclaration;
7878 return Redeclaration;
7914 return Redeclaration;
8368 // If this is a redeclaration, check that the type we just deduced matches
9493 // Check for redeclaration of parameters, e.g. int foo(int x, int x);
10568 /// Check whether this is a valid redeclaration of a previous enumeration.
10569 /// \return true if the redeclaration was invalid.
10587 // TODO: Highlight the underlying type of the redeclaration.
10605 /// redeclaration diagnostic message.
10619 /// class for redeclaration (class, struct, or __interface).
10628 /// as a redeclaration of the given tag declaration.
10793 // redeclaration.
10969 // also need to do a redeclaration lookup there, just in case
11024 // In C++, we need to do a redeclaration lookup to properly
11039 // insanity with a redeclaration lookup can only actually happen
11166 // A redeclaration in function prototype scope in C isn't
11199 // Okay, we're going to make a redeclaration. If this is some kind
11200 // of reference, make sure we build the redeclaration in the same DC
11228 // (non-redeclaration) lookup.
12606 // Diagnose redeclaration of private ivars.