Home | History | Annotate | Download | only in Sema

Lines Matching defs:Redeclaration

2040   // The types match.  Link up the redeclaration chain and merge attributes if
2444 // This redeclaration changes __asm__ label.
2449 // This redeclaration adds an __asm__ label to a declaration that has
2529 // FIXME: Should we build redeclaration chains for function parameters?
2674 /// \brief Check whether a redeclaration of an entity introduced by a
2890 // If this redeclaration makes the function inline, we may need to add it to
2900 // If this redeclaration makes it newly gnu_inline, we don't want to warn
2908 // redeclaration.
2984 // We don't want a redeclaration error.
3226 // or 'printf', just warn about the incompatible redeclaration.
3232 // If this is a global redeclaration, just forget hereafter
3238 // remain visible, a single bogus local redeclaration (which is
3260 /// redeclaration of Old.
3634 // If this redeclaration makes the function inline, we may need to add it to
3649 // Do not allow redeclaration to change the variable between requiring
4087 /// \return true if this is a forbidden redeclaration
5347 bool Redeclaration = D.isRedeclaration();
5348 NamedDecl *ND = ActOnTypedefNameDecl(S, DC, NewTD, Previous, Redeclaration);
5349 D.setRedeclaration(Redeclaration);
5395 LookupResult &Previous, bool &Redeclaration) {
5402 Redeclaration = true;
5619 // A redeclaration is not allowed to add a dllimport or dllexport attribute,
5656 // A redeclaration is not allowed to drop a dllimport attribute, the only
5743 /// redeclaration of an internal linkage declaration.
6657 // redeclaration.
6718 /// if we have found that this is a redeclaration of some prior entity.
6748 // translation unit or can be a redeclaration of an extern "C" declaration
6977 /// Returns true if the variable declaration is a redeclaration.
7151 /// \brief Generate diagnostics for an invalid function redeclaration.
7154 /// function redeclaration, including finding possible similar declarations
8223 // Recover gracefully from an invalid redeclaration.
8364 // Recover gracefully from an invalid redeclaration.
8633 /// \returns true if the function declaration is a redeclaration.
8646 bool Redeclaration = false;
8659 Redeclaration = true;
8666 Redeclaration = true;
8670 Redeclaration = true;
8674 Redeclaration = false;
8682 << Redeclaration << NewFD;
8684 if (Redeclaration)
8697 if (!Redeclaration &&
8702 Redeclaration = true;
8710 << Redeclaration << NewFD;
8716 Redeclaration = false;
8761 if (Redeclaration) {
8766 return Redeclaration;
8829 return Redeclaration;
8858 return Redeclaration;
8865 return Redeclaration;
8901 return Redeclaration;
9566 // If this is a redeclaration, check that the type we just deduced matches
10851 // Check for redeclaration of parameters, e.g. int foo(int x, int x);
12005 /// Check whether this is a valid redeclaration of a previous enumeration.
12006 /// \return true if the redeclaration was invalid.
12024 // TODO: Highlight the underlying type of the redeclaration.
12046 /// redeclaration diagnostic message.
12060 /// class for redeclaration (class, struct, or __interface).
12069 /// as a redeclaration of the given tag declaration.
12216 // In MSVC mode, we allow a redeclaration if the contexts are related (either
12324 // redeclaration.
12460 // declaration may be a redeclaration of a type declared in an enclosing
12528 // also need to do a redeclaration lookup there, just in case
12577 // In C++, we need to do a redeclaration lookup to properly
12579 // FIXME: redeclaration lookup is also used (with and without C++) to find a
12602 // insanity with a redeclaration lookup can only actually happen
12625 // If this is a redeclaration of a using shadow declaration, it must
12779 // A redeclaration in function prototype scope in C isn't
12811 // Okay, we're going to make a redeclaration. If this is some kind
12812 // of reference, make sure we build the redeclaration in the same DC
12839 // (non-redeclaration) lookup.
14231 // Diagnose redeclaration of private ivars.